]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/Makefile
Fixed iconv linkage.
[stg.git] / stglibs / common.lib / Makefile
index eb0959b78aaeb62b3d652371fe4e92b0e5af857a..1f662c25c3357985ec83d49a11fbb5129b7a4539 100644 (file)
@@ -4,16 +4,13 @@
 
 include ../../Makefile.conf
 
-LIB_NAME = stg_common
-PROG = lib$(LIB_NAME)
+LIB_NAME = stgcommon
 
 SRCS = common.cpp \
-       stg_strptime.cpp
+       strptime.cpp
 
 INCS = common.h
 
-ifneq ($(OS),linux)
-LIBS += -liconv
-endif
+LIBS += $(LIBICONV)
 
 include ../Makefile.in