From 1ff51894eeccaffefb0e9616ddb763689351a7d8 Mon Sep 17 00:00:00 2001 From: Jurgen Lentz Date: Tue, 8 Oct 2024 22:28:58 +0200 Subject: [PATCH] windows changes --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e153951..df2d32d 100644 --- a/setup.py +++ b/setup.py @@ -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(),