mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 17:37:51 +08:00
2ac8af6d70
* Create portfile.cmake * Add manifest and patches for glpk-5.0 * Shrink portfile.cmake Removed some comments * Update ci.baseline.txt to list glpk:x86-windows * Addressing some reviewer comments and suggestions * Addressing comments from microsoft/vcpkg#28364 * Trying out x86-windows again * Updating the version database * x-add-version glpk * Addressing reviews * Update version database: x-add-version glpk * More compact code thanks to PR reviews * format-manifest ports/glpk/vcpkg.json * Update version database: x-add-version glpk * No default features * Update version database: x-add-version glpk
24 lines
689 B
Diff
24 lines
689 B
Diff
--- 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])
|