allow dll suffix to be passed from ./configure

This commit is contained in:
rofl0r 2012-01-27 20:30:44 +01:00
parent 9c83402d37
commit 6d25f5d89e

View File

@ -23,14 +23,17 @@ PIC = -fPIC
AR = $(CROSS_COMPILE)ar AR = $(CROSS_COMPILE)ar
RANLIB = $(CROSS_COMPILE)ranlib RANLIB = $(CROSS_COMPILE)ranlib
LDSO_PATHNAME = libproxychains4.so LDSO_SUFFIX = so
-include config.mak
LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX)
SHARED_LIBS = $(LDSO_PATHNAME) SHARED_LIBS = $(LDSO_PATHNAME)
ALL_LIBS = $(SHARED_LIBS) ALL_LIBS = $(SHARED_LIBS)
PXCHAINS = proxychains4 PXCHAINS = proxychains4
ALL_TOOLS = $(PXCHAINS) ALL_TOOLS = $(PXCHAINS)
-include config.mak
CFLAGS+=$(USER_CFLAGS) CFLAGS+=$(USER_CFLAGS)
CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DINSTALL_PREFIX=\"$(prefix)\" -DDLL_NAME=\"$(LDSO_PATHNAME)\" CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DINSTALL_PREFIX=\"$(prefix)\" -DDLL_NAME=\"$(LDSO_PATHNAME)\"