Hi ovacikar
... But noticed the build script created a huge 2MB file
Since we don't know which build script you used, we can
only make some general comments.
Extension.tcz <-- Programs and libraries get stripped to reduce size.
Typically, the following items get removed and packaged into separate extensions:
Extension-dev.tcz <-- Development files, headers (.h), static libraries (.a), .pc, etc.
Extension-doc.tcz <-- Document files, man pages, etc.
Extension-locale.tcz <-- Language files, .mo, etc.