Skip to content

Commit 830ee16

Browse files
committed
macOS: improve mysql.h inclusion [NEEDS CHECKING]
1 parent 63151ac commit 830ee16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/dbconmy/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ project "Dbconmy"
3737
links { "rt" }
3838

3939
filter "system:macosx"
40-
includedirs { "/usr/local/opt/mysql/include/mysql/" }
40+
includedirs { os.findheader("mysql.h", "/usr/local/opt/mysql/include/mysql") }
4141

4242
if GLIBC_COMPAT then
4343
filter { "system:linux" }

0 commit comments

Comments
 (0)