1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-16 18:42:36 +08:00

get own_dir by using dladdr() instead of argv[0]

This commit is contained in:
Solar Flare
2019-11-05 11:39:46 +08:00
committed by soflare
Unverified
parent 0a8663c845
commit b8fa2a7405
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ $(LDSO_PATHNAME): $(LOBJS)
-shared -o $@ $(LOBJS) $(SOCKET_LIBS)
$(ALL_TOOLS): $(OBJS)
$(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
$(CC) src/main.o src/common.o $(USER_LDFLAGS) $(LIBDL) -o $(PXCHAINS)
.PHONY: all clean install install-config install-libs install-tools