]> git.stg.codes - stg.git/blobdiff - projects/sgauth/Makefile
Add headers for old BSD systems, add unistd.h for close in sgauthstress
[stg.git] / projects / sgauth / Makefile
index 6e330c78f5725bc9b129aefef2be45ca3a5bea64..fe588238856ebd860a08ad5921c056943a8ebae4 100644 (file)
@@ -20,10 +20,10 @@ STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
 
 LIBS += $(LIB_THREAD) $(addprefix -lstg,$(STGLIBS))
 
-ifeq ($(OS),linux)
-else
+ifneq ($(OS),linux)
 LIBS += -lintl \
-        -lc
+        -lc \
+       -liconv
 endif
 
 SEARCH_DIRS = -I ../../include