Skip to content

Commit

Permalink
Merge pull request #537 from an-ivanov/b1
Browse files Browse the repository at this point in the history
Update setup.py for windows setup
  • Loading branch information
aperrin66 authored Apr 11, 2024
2 parents df59c4a + 68258c4 commit 4b240d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@
else:
if 'gdal_i.lib' in files:
extra_link_args = [path + '\gdal_i.lib']
elif 'gdal.lib' in files:
extra_link_args = [path + '\gdal.lib']
else:
extra_link_args = []
else:
extra_compile_args = ['-fPIC', '-Wall', '-Wno-long-long', '-pedantic', '-O3']
extra_link_args = [] # not used currently
Expand Down

0 comments on commit 4b240d7

Please sign in to comment.