Skip to content

Commit 96f394b

Browse files
committed
update
1 parent 623ee0e commit 96f394b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

mysql_config.bat

+16
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)