Skip to content

Commit

Permalink
fix conda-build
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrovKP committed Jul 5, 2021
1 parent 8fda86d commit ea8a3c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_libs(iface='daal'):
libraries_plat = ['onedal_core', 'onedal_thread']
onedal_lib = ['onedal']
if iface == 'onedal':
libraries_plat += onedal_lib
libraries_plat = onedal_lib + libraries_plat
return libraries_plat


Expand Down Expand Up @@ -199,6 +199,9 @@ def get_build_options():
elif IS_LIN and not any(x in os.environ and '-g' in os.environ[x]
for x in ['CPPFLAGS', 'CFLAGS', 'LDFLAGS']):
ela.append('-s')
if IS_LIN:
ela.append("-fPIC")
ela.append("-Wl,-rpath,$ORIGIN/../..")
return eca, ela, include_dir_plat


Expand Down

0 comments on commit ea8a3c4

Please sign in to comment.