mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-11-01 01:28:55 +00:00
pass dll_name to proxychains app, makes it easier to port to MAC
This commit is contained in:
parent
2acdcd9707
commit
526fb8b410
2
Makefile
2
Makefile
@ -33,7 +33,7 @@ ALL_TOOLS = $(PXCHAINS)
|
||||
-include config.mak
|
||||
|
||||
CFLAGS+=$(USER_CFLAGS)
|
||||
CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DINSTALL_PREFIX=\"$(prefix)\"
|
||||
CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DINSTALL_PREFIX=\"$(prefix)\" -DDLL_NAME=\"$(LDSO_PATHNAME)\"
|
||||
|
||||
|
||||
all: $(ALL_LIBS) $(ALL_TOOLS)
|
||||
|
@ -42,7 +42,7 @@ int check_path(char *path) {
|
||||
return access(path, R_OK) != -1;
|
||||
}
|
||||
|
||||
static const char *dll_name = "libproxychains4.so";
|
||||
static const char *dll_name = DLL_NAME;
|
||||
|
||||
static char own_dir[256];
|
||||
static const char *dll_dirs[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user