ittiam-systems / libmpegh

MPEG-H 3D Audio Low Complexity Profile Decoder. Encoder: https://github.com/ittiam-systems/libmpeghe
http://www.ittiam.com/
BSD 3-Clause Clear License
86 stars 19 forks source link

Compile static executable #66

Closed sclsj closed 11 months ago

sclsj commented 11 months ago

Currently ia_mpeghd_testbench requires libmpeghd.dylib to run. Being able to compile statically would make having multiple version of the program easier to use and maintain (e.g. some streams are poorly encoded and need some hacks to improve the final quality, while most other don't).

otool -L .libs/ia_mpeghd_testbench
.libs/ia_mpeghd_testbench:
    /usr/local/lib/libmpeghd.0.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3)
sclsj commented 11 months ago

Sorry, seems like this is already possible with ./configure --disable-shared.