diff options
-rw-r--r-- | SwifTools/Idle/IdleQuerierTest/SConscript | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/SwifTools/Idle/IdleQuerierTest/SConscript b/SwifTools/Idle/IdleQuerierTest/SConscript index d45aeea..c7dbd2c 100644 --- a/SwifTools/Idle/IdleQuerierTest/SConscript +++ b/SwifTools/Idle/IdleQuerierTest/SConscript @@ -5,7 +5,6 @@ if env["TEST"] : myenv.MergeFlags(myenv["SWIFTOOLS_FLAGS"]) myenv.MergeFlags(myenv["SWIFTEN_FLAGS"]) myenv.MergeFlags(myenv["BOOST_FLAGS"]) - myenv.MergeFlags(myenv.get("XSS_FLAGS", {})) - myenv.Append(LIBPATH = ["/usr/X11R6/lib"]) - myenv.Append(LIBS = ["X11", "Xss"]) + if myenv["HAVE_XSS"] : + myenv.MergeFlags(myenv.get("XSS_FLAGS", {})) tester = myenv.Program("IdleQuerierTest", ["IdleQuerierTest.cpp"]) |