Skip to content

Commit

Permalink
Merge pull request #18 from nvictus/fix-uname
Browse files Browse the repository at this point in the history
Use machine type for include path
  • Loading branch information
nvictus authored Dec 26, 2021
2 parents 84539c1 + c78a197 commit 89cf8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_ext_modules():
'kent',
] + d.pop('libraries', []),
library_dirs=[
op.join(thisdir, 'src/x86_64'),
op.join(thisdir, f'src/{os.uname().machine}'),
] + d.pop('library_dirs', []),
include_dirs=[
numpy.get_include(),
Expand Down

0 comments on commit 89cf8bf

Please sign in to comment.