Skip to content

Commit

Permalink
windows changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Oct 8, 2024
1 parent e02d4ad commit 1ff5189
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 @@ -205,7 +205,7 @@ def link_args():
[
Extension(
"_amplpy",
libraries=["ampl"],
libraries=["libampl" if platform.system() in ["Windows"] else "ampl"],
library_dirs=[os.path.join(LIBRARY_BASE, LIBRARY)],
include_dirs=[os.path.join(CPP_BASE, "include")],
extra_compile_args=compile_args(),
Expand Down

0 comments on commit 1ff5189

Please sign in to comment.