mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-11-14 03:08:58 +00:00
Add socket libraries for Solaris
This commit is contained in:
parent
65c4a823cd
commit
7807321f09
3
Makefile
3
Makefile
@ -30,6 +30,7 @@ INC =
|
|||||||
PIC = -fPIC
|
PIC = -fPIC
|
||||||
AR = $(CROSS_COMPILE)ar
|
AR = $(CROSS_COMPILE)ar
|
||||||
RANLIB = $(CROSS_COMPILE)ranlib
|
RANLIB = $(CROSS_COMPILE)ranlib
|
||||||
|
SOCKET_LIBS =
|
||||||
|
|
||||||
LDSO_SUFFIX = so
|
LDSO_SUFFIX = so
|
||||||
LD_SET_SONAME = -Wl,-soname=
|
LD_SET_SONAME = -Wl,-soname=
|
||||||
@ -82,7 +83,7 @@ src/version.o: src/version.h
|
|||||||
|
|
||||||
$(LDSO_PATHNAME): $(LOBJS)
|
$(LDSO_PATHNAME): $(LOBJS)
|
||||||
$(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \
|
$(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \
|
||||||
-shared -o $@ $(LOBJS)
|
-shared -o $@ $(LOBJS) $(SOCKET_LIBS)
|
||||||
|
|
||||||
$(ALL_TOOLS): $(OBJS)
|
$(ALL_TOOLS): $(OBJS)
|
||||||
$(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
|
$(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
|
||||||
|
1
configure
vendored
1
configure
vendored
@ -188,6 +188,7 @@ elif issolaris; then
|
|||||||
echo "NO_AS_NEEDED=" >> config.mak
|
echo "NO_AS_NEEDED=" >> config.mak
|
||||||
echo "LD_SET_SONAME=-Wl,-h," >> config.mak
|
echo "LD_SET_SONAME=-Wl,-h," >> config.mak
|
||||||
fi
|
fi
|
||||||
|
echo "SOCKET_LIBS=-lsocket -lnsl" >> config.mak
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Done, now run $make_cmd && $make_cmd install"
|
echo "Done, now run $make_cmd && $make_cmd install"
|
||||||
|
Loading…
Reference in New Issue
Block a user