commit cb27610986fab09f36f49632b732b06dd797ea27
parent 38ba5f3fb08d0622d55165d5fef7541dcd766f65
Author: Kyle Milz <kyle@0x30.net>
Date: Wed, 27 Jul 2016 20:43:37 -0600
src: move c++ library spec to os specific section
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jamrules b/Jamrules
@@ -21,12 +21,14 @@ if $(OS) = OPENBSD {
PKG_CONFIG_LIBS = gl glew freetype2 ;
LINKLIBS on citrun-gl = -lestdc++ -lm -lglut ;
LINKLIBS on citrun-inst = -lestdc++ ;
+ LINKLIBS on citrun-term = -lestdc++ ;
}
if $(OS) = MACOSX {
PKG_CONFIG_LIBS = glew freetype2 ;
LINKLIBS on citrun-gl = -framework OpenGL -framework GLUT -lc++ -lm ;
LINKLIBS on citrun-inst = -lc++ ;
+ LINKLIBS on citrun-term = -lc++ ;
}
if $(OS) = LINUX {
diff --git a/src/Jamfile b/src/Jamfile
@@ -14,7 +14,7 @@ Library utils : af_unix.cc runtime_conn.cc ;
#
# citrun-term
#
-LINKLIBS on citrun-term += -lcurses -L/usr/local/lib -lestdc++ ;
+LINKLIBS on citrun-term += -lcurses -L/usr/local/lib ;
LinkLibraries citrun-term : utils ;
Main citrun-term : term_main.cc ;