We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 623ee0e commit 96f394bCopy full SHA for 96f394b
mysql_config.bat
@@ -0,0 +1,16 @@
1
+@echo off
2
+rem mysql_config replacement for use with appveyor
3
+rem based on https://github.com/StrawberryPerl/build-extlibs/blob/master/mysql.special/mysql_config.bat
4
+set ROOT="C:\Program Files\MySQL\MySQL Server 8.0"
5
+
6
+set XCFLAGS=-I%ROOT%\include
7
+set XLIBS=-L%ROOT%\lib -lmysql
8
+set XVERSION=8.0.34
9
+set XPREFIX=%ROOT%..\
10
11
+for %%p in (%*) do (
12
+ if x%%p == x--cflags echo %XCFLAGS%
13
+ if x%%p == x--libs echo %XLIBS%
14
+ if x%%p == x--version echo %XVERSION%
15
+ if x%%p == x--prefix echo %XPREFIX%
16
+)
0 commit comments