Make swift over UDP compilable.
authorAdrian Bondrescu <adi.bondrescu@gmail.com>
Sun, 19 Aug 2012 18:45:32 +0000 (21:45 +0300)
committerAdrian Bondrescu <adi.bondrescu@gmail.com>
Sun, 19 Aug 2012 18:45:32 +0000 (21:45 +0300)
src/libswift_udp/SConstruct
src/libswift_udp/tests/SConscript

index ceca61f..849c26d 100644 (file)
@@ -83,7 +83,7 @@ if sys.platform == "win32":
     APPSOURCE=['swift.cpp','httpgw.cpp','statsgw.cpp','cmdgw.cpp','getopt.c','getopt_long.c']\r
     \r
 else:\r
-    libevent2path = '/arno/pkgs/libevent-2.0.15-arno-http'\r
+    libevent2path = '/usr/local/'\r
 \r
     # Enable the user defining external includes\r
     if 'CPPPATH' in os.environ:\r
index 070c362..5659a57 100644 (file)
@@ -24,28 +24,28 @@ env.Program(
     source=['binstest2.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 env.Program( 
     target='binstest3',
     source=['binstest3.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 env.Program( 
     target='dgramtest',
     source=['dgramtest.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 env.Program( 
     target='hashtest',
     source=['hashtest.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 # Arno: must be rewritten to libevent
 #env.Program( 
@@ -53,7 +53,7 @@ env.Program(
 #    source=['ledbattest.cpp'],
 #    CPPPATH=cpppath,
 #    LIBS=libs,
-#    LIBPATH=libpath )
+#    LIBPATH=libpath+":.." )
 
 # Arno: must be rewritten to libevent
 #if sys.platform != "win32":
@@ -63,33 +63,33 @@ env.Program(
 #        source=['ledbattest2.cpp'],
 #        CPPPATH=cpppath,
 #        LIBS=libs,
-#        LIBPATH=libpath )
+#        LIBPATH=libpath+":.." )
 
 env.Program( 
     target='freemap',
     source=['freemap.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 env.Program( 
     target='bin64test',
     source=['bin64test.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 env.Program( 
     target='transfertest',
     source=['transfertest.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )
 
 env.Program( 
     target='connecttest',
     source=['connecttest.cpp'],
     CPPPATH=cpppath,
     LIBS=libs,
-    LIBPATH=libpath )
+    LIBPATH=libpath+":.." )