SHA256
6
0
forked from pool/tbb
tbb/disable-irml.patch
Ismail Dönmez 686e0f88bd - Add cmake-remove-include-path.patch to remove setting include
path since we already install under /usr/include and this fixes
  idiot OpenCV trying to do -isystem $TBB_INCLUDE_DIR

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=57
2019-06-07 10:46:28 +00:00

14 lines
872 B
Diff

Index: tbb-2019_U8/python/setup.py
===================================================================
--- tbb-2019_U8.orig/python/setup.py
+++ tbb-2019_U8/python/setup.py
@@ -67,7 +67,7 @@ _tbb = Extension("tbb._api", ["tbb/api.i
extra_compile_args=compile_flags + tbb_flag,
extra_link_args=tbb_flag,
libraries =(['tbb'] if not use_compiler_tbb else []) +
- (['irml'] if platform.system() == "Linux" else []), # TODO: why do we need this?
+ (['irml'] if platform.system() == "xLinux" else []), # TODO: why do we need this?
library_dirs=[ rundir, # for custom-builds
os.path.join(tbb_root, 'lib', 'intel64', 'gcc4.4'), # for Linux
os.path.join(tbb_root, 'lib'), # for MacOS