diff --git a/miniupnpc/Makefile b/miniupnpc/Makefile index 6dcf4b1..51a19f0 100644 --- a/miniupnpc/Makefile +++ b/miniupnpc/Makefile @@ -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