mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2025-09-03 14:27:00 +00:00
fix --fat-binary-m1 option
even though the preload library was built correctly, the LDFLAGS set weren't passed to the main proxychains4 binary, resulting in link errors against the fat object files. closes #452
This commit is contained in:
4
configure
vendored
4
configure
vendored
@ -278,12 +278,12 @@ if ismac ; then
|
||||
if ismac64 && [ "$fat_binary" = 1 ] ; then
|
||||
echo "Configuring a fat binary for i386 and x86_64"
|
||||
echo "MAC_CFLAGS+=-arch i386 -arch x86_64">>config.mak
|
||||
echo "LDFLAGS+=-arch i386 -arch x86_64">>config.mak
|
||||
echo "FAT_LDFLAGS=-arch i386 -arch x86_64">>config.mak
|
||||
fi
|
||||
if [ "$fat_binary_m1" = 1 ] ; then
|
||||
echo "Configuring a fat binary for arm64e and x86_64"
|
||||
echo "MAC_CFLAGS+=-arch arm64e -arch x86_64">>config.mak
|
||||
echo "LDFLAGS+=-arch arm64e -arch x86_64">>config.mak
|
||||
echo "FAT_LDFLAGS=-arch arm64e -arch x86_64">>config.mak
|
||||
fi
|
||||
elif isbsd ; then
|
||||
echo LIBDL=>>config.mak
|
||||
|
Reference in New Issue
Block a user