]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/Makefile
Fix build on Darwin.
[stg.git] / stglibs / common.lib / Makefile
index 3e52ad8d32006480269b66194f1b68d9ab68c2b7..1f662c25c3357985ec83d49a11fbb5129b7a4539 100644 (file)
@@ -5,15 +5,12 @@
 include ../../Makefile.conf
 
 LIB_NAME = stgcommon
-PROG = lib$(LIB_NAME)
 
 SRCS = common.cpp \
        strptime.cpp
 
 INCS = common.h
 
-ifneq ($(OS),linux)
-LIBS += -liconv
-endif
+LIBS += $(LIBICONV)
 
 include ../Makefile.in