VPN needs libsocket when available

This commit is contained in:
Pierre Pronchery 2014-04-27 02:37:49 +08:00
parent c48d8ac174
commit a178104b02
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ CPPFLAGSF=
CPPFLAGS=
CFLAGSF = -W `pkg-config --cflags libApp`
CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= `pkg-config --libs libApp` -Wl,--export-dynamic
LDFLAGSF= `pkg-config --libs libApp` -Wl,--export-dynamic
LDFLAGS =
RM = rm -f
LN = ln -f

View File

@ -2,7 +2,7 @@ targets=../include/VPN.h,VPN
cppflags=
cflags_force=-W `pkg-config --cflags libApp`
cflags=-Wall -g -O2 -pedantic
ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic
ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic -lsocket
ldflags=
dist=Makefile,common.c,vpn.h