Skip to content

Commit 24d6d69

Browse files
committed
Fix macOS paths in dbconmy
1 parent 0d930ac commit 24d6d69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Server/dbconmy/premake5.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,19 @@ project "Dbconmy"
3838
links { "rt" }
3939

4040
filter "system:macosx"
41+
-- brew install mysql-client libidn2
4142
includedirs {
4243
os.findheader("mysql.h", {
4344
"/usr/local/opt/mysql/include/mysql",
4445
"/opt/homebrew/include/mysql",
45-
"/opt/osxcross/macports/pkgs/opt/local/include/mysql8/mysql",
46+
"/opt/homebrew/opt/mysql-client/include/mysql",
4647
})
4748
}
4849
libdirs {
4950
os.findlib("libmysqlclient.a", {
5051
"/usr/local/opt/mysql/lib",
5152
"/opt/homebrew/lib",
52-
"/opt/osxcross/macports/pkgs/opt/local/lib/mysql8/mysql",
53+
"/opt/homebrew/opt/mysql-client/lib",
5354
})
5455
}
5556

0 commit comments

Comments
 (0)