Add 'rt' library to build (needed at least by gentoo)
[senf.git] / senfscons / senfutil.py
index ad80d8b..249a78d 100644 (file)
@@ -8,7 +8,9 @@ from SCons.Script import *
 # c) check for a local SENF, set options accordingly and update that SENF if needed
 
 def SetupForSENF(env):
-    env.Append( LIBS           = [ 'senf', 'iberty', 'boost_regex', 'boost_iostreams' ],
+    env.Append( LIBS           = [ 'senf', 'readline', 'rt', '$BOOSTREGEXLIB', '$BOOSTIOSTREAMSLIB' ],
+                BOOSTREGEXLIB  = 'boost_regex',
+                BOOSTIOSTREAMSLIB = 'boost_iostreams',
                 CXXFLAGS       = [ '-Wno-long-long',
                                    '${"$CXXFLAGS_"+(final and "final" or "debug")}' ],
                 LINKFLAGS      = [ '${"$LINKFLAGS_"+(final and "final" or "debug")}' ],