diff options
author | imarom <imarom@cisco.com> | 2016-06-05 10:36:05 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-06-05 10:37:27 +0300 |
commit | 0400a9503137f9179eb92f15d4e3b985ffad562e (patch) | |
tree | e4eda3405d678327d1d7a430f9074a11afe0a6d8 /linux | |
parent | c256f0ca193802ae0694f6e3ae5ffb4dcabe6a6b (diff) |
compile issue on ubuntu and new IGB UIO driver (from DPDK)
Diffstat (limited to 'linux')
-rwxr-xr-x | linux/ws_main.py | 4 |
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()) |