From bba2fa65924c3d4290d2fcf5e7a2b0ce700ccbae Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 13 Jan 2022 16:39:25 -0800 Subject: [PATCH] libfdk-aac: Fix library id path in rebuilt library --- ThirdParty/fdk-aac/README.md | 5 +++++ ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib | Bin 2481265 -> 2481264 bytes 2 files changed, 5 insertions(+) diff --git a/ThirdParty/fdk-aac/README.md b/ThirdParty/fdk-aac/README.md index 40b759261..3e644c9f5 100644 --- a/ThirdParty/fdk-aac/README.md +++ b/ThirdParty/fdk-aac/README.md @@ -10,3 +10,8 @@ Using the following commandline: env CFLAGS="-arch x86_64 -arch arm64 -fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12" CXXFLAGS="-arch x86_64 -arch arm64 -fPIC -isysroot $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12" LDFLAGS="-arch x86_64 -arch arm64 -mmacosx-version-min=10.12" ./configure --prefix=$(COG_REPO_DIR)/ThirdParty/fdk-aac make -j8 +make install + +Then I update the id path in the resulting dylib: + +install_name_tool -id @rpath/libfdk-aac.2.dylib libfdk-aac.2.dylib diff --git a/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib b/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib index 4ca2b72a106090eb25a0632eecc58d75fdbab2e1..d3427607912a92fa1b7fafd02be5556c05b3059b 100755 GIT binary patch delta 433 zcmbWzze@sP7zgm@JNuHlFlA<1ZP^$I%I zpq7>}hfApcL5Q}Hmd2o_psBCTP4V)1A0Bvz@B96{x7i1jraInez=?1-`m{I88e)3#b@KWJl575qS}s@3|s2tX@!?6oPhu? z5Wx*?&<-8ofllZGFLXl>_@Ed1px>!*|51}|I003965VE4AhLPc=fBXTe`R#CnxrwI zs8o|_snp1{1YiJy5Q0G%f?){52#mrQj6(!uP$23wGO>yE$T9x^TNS4C-Si@-Vvr!B zI~*dz4%K7JsXwYae|%mmT;0sw>gfe#_0D=&Dmrgb56|lb{bf3M;#l?AtIX&J(`}0( delta 510 zcmcK1JxfAi6bJCj_6r>I5 z&{E*oU=BAwMMk?sG#1zpK~sOBK0+LR=Wxz;&S~BknGeX%GKu2#yGf`x%Z>{t&%~=* z=NGrVO9;^e1B6u|DTuI@6s4pP2ub0jun|j30Z~{N<1vh4`@&`@ECoGON@aw-;DMFW zfDj4$TYg*HoGq9^TXneYhNBYAl_&!&D1ZYcv_U&`KqquTH>jWodO;0+&<_K0iE0iT z%!#aZ@=u&HVPFX<(!5%8>E{1+5qZ(gyBRiXuGnYzT;1EE1sx269)@5TM!*20Fb3l= z0Y)%^87Aer*D~cZX8-Pv%6~Uh*vA|tEQd!R2#FT;HH&Lu#kIN<6eBcaU9!)M{$*P% pog$y|!?EYhOVhWHYx=^=)v5nXSLS?oH?NLBvoIZ&&uf-v(+{pKuAu+`