summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-06-05 10:36:05 +0300
committerimarom <imarom@cisco.com>2016-06-05 10:37:27 +0300
commit0400a9503137f9179eb92f15d4e3b985ffad562e (patch)
treee4eda3405d678327d1d7a430f9074a11afe0a6d8 /linux
parentc256f0ca193802ae0694f6e3ae5ffb4dcabe6a6b (diff)
compile issue on ubuntu and new IGB UIO driver (from DPDK)
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/ws_main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/ws_main.py b/linux/ws_main.py
index 6b927fa6..3aee05db 100755
--- a/linux/ws_main.py
+++ b/linux/ws_main.py
@@ -371,7 +371,7 @@ class build_option:
def get_link_flags(self):
# add here basic flags
- base_flags = ['-pthread', '-ldl'];
+ base_flags = [];
if self.isPIE():
base_flags.append('-lstdc++')
@@ -410,7 +410,7 @@ def build_prog (bld, build_obj):
linkflags = build_obj.get_link_flags(),
source = build_obj.get_src(),
use = build_obj.get_use_libs(),
- lib = ['z'],
+ lib = ['pthread', 'z', 'dl'],
rpath = bld.env.RPATH + build_obj.get_rpath(),
target = build_obj.get_target())