git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shut up compiler about unused parameter on non-linux systems
[stg.git]
/
projects
/
rscriptd
/
Makefile
diff --git
a/projects/rscriptd/Makefile
b/projects/rscriptd/Makefile
index 2b7395a3d0e9d7615b48dda5c5b8c358f5fb9ed6..53029eb6f501a0b611a192b13bef3120e2a01292 100644
(file)
--- a/
projects/rscriptd/Makefile
+++ b/
projects/rscriptd/Makefile
@@
-17,6
+17,10
@@
STGLIBS = logger \
scriptexecuter \
conffiles
+ifneq ($(OS),linux)
+LIBS += -liconv
+endif
+
STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS)))