LDLIBS, not LDFLAGS :)

This commit is contained in:
Thomas Bernard 2016-12-30 20:07:59 +01:00
parent b433902c02
commit e7068a7d34
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ JNAERATORARGS = -mode StandaloneJar -runtime JNAerator -library miniupnpc
JNAERATORBASEURL = https://repo1.maven.org/maven2/com/nativelibs4java/jnaerator/0.12
ifeq (SunOS, $(OS))
LDFLAGS=-lsocket -lnsl -lresolv
LDLIBS=-lsocket -lnsl -lresolv
CFLAGS += -D__EXTENSIONS__
CFLAGS += -std=c99
endif