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:
authorSolar Flare <soflare@users.noreply.github.com>2019-11-05 06:39:46 +0300
committersoflare <soflare@users.noreply.github.com>2019-11-26 19:32:08 +0300
commitb8fa2a7405e4e4ddeb35e9f6cf298944680fc52f (patch)
tree6407c27695dadedd52a83db6731bb9ccb72a0e29 /Makefile
parent0a8663c84559928af28f6f092679d560b8802147 (diff)
get own_dir by using dladdr() instead of argv[0]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fe5f8c6..2dd9e9c 100644
--- a/Makefile
+++ b/Makefile
@@ -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