aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/glpk/configure.ac.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/glpk/configure.ac.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/glpk/configure.ac.patch')
-rw-r--r--vcpkg/ports/glpk/configure.ac.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/glpk/configure.ac.patch b/vcpkg/ports/glpk/configure.ac.patch
new file mode 100644
index 0000000..e05600a
--- /dev/null
+++ b/vcpkg/ports/glpk/configure.ac.patch
@@ -0,0 +1,23 @@
+--- configure.ac.original 2022-12-15 13:46:24.222223600 -0500
++++ configure.ac 2022-12-28 09:30:59.301984700 -0500
+@@ -114,6 +114,12 @@
+ LIBODBC="libodbc.dylib"
+ LIBMYSQL="libmysqlclient.dylib"
+ ;;
++ cygwin* | mingw*)
++ LIBIODBC="odbc32.dll"
++ LIBODBC="odbc32.dll"
++ LIBMYSQL="libmysql.dll"
++ AC_DEFINE([__WOE__], [1], [N/A])
++ ;;
+ *)
+ LIBIODBC="libiodbc.so"
+ LIBODBC="libodbc.so"
+@@ -145,7 +151,6 @@
+ AC_MSG_ERROR([--enable-mysql requires --enable-dl])
+ fi
+ AC_MSG_RESULT([yes])
+- CPPFLAGS="-I/usr/include/mysql $CPPFLAGS"
+ AC_DEFINE_UNQUOTED([MYSQL_DLNAME], ["$LIBMYSQL"], [N/A])
+ else
+ AC_MSG_RESULT([no])