Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rwxr-xr-xconfigure8
2 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3cfee96..dbd639e 100644
--- a/Makefile
+++ b/Makefile
@@ -97,10 +97,10 @@ $(LDSO_PATHNAME): $(LOBJS)
$(USER_LDFLAGS) -shared -o $@ $^ $(SOCKET_LIBS)
$(PXCHAINS): $(OBJS)
- $(CC) $^ $(FAT_LDFLAGS) $(USER_LDFLAGS) $(LIBDL) -o $@
+ $(CC) $^ $(FAT_BIN_LDFLAGS) $(USER_LDFLAGS) $(LIBDL) -o $@
$(PXCHAINS_D): $(DOBJS)
- $(CC) $^ $(FAT_LDFLAGS) $(USER_LDFLAGS) -o $@
+ $(CC) $^ $(FAT_BIN_LDFLAGS) $(USER_LDFLAGS) -o $@
.PHONY: all clean install install-config install-libs install-tools install-zsh-completion
diff --git a/configure b/configure
index 42c1561..6d7107c 100755
--- a/configure
+++ b/configure
@@ -280,11 +280,13 @@ if ismac ; then
echo "Configuring a fat binary for i386 and x86_64"
echo "MAC_CFLAGS+=-arch i386 -arch x86_64">>config.mak
echo "FAT_LDFLAGS=-arch i386 -arch x86_64">>config.mak
+ echo "FAT_BIN_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 "FAT_LDFLAGS=-arch arm64e -arch x86_64">>config.mak
+ echo "Configuring a fat binary for arm64[e] and x86_64"
+ echo "MAC_CFLAGS+=-arch arm64 -arch arm64e -arch x86_64">>config.mak
+ echo "FAT_LDFLAGS=-arch arm64 -arch arm64e -arch x86_64">>config.mak
+ echo "FAT_BIN_LDFLAGS=-arch arm64 -arch x86_64">>config.mak
fi
elif isbsd ; then
echo LIBDL=>>config.mak