Skip to content

Commit 3ccaadb

Browse files
committed
Possible fix for dbConnect not working with 'mysql' on Linux
1 parent 1355812 commit 3ccaadb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Server/dbconmy/premake5.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ project "Dbconmy"
3838

3939
if GLIBC_COMPAT then
4040
filter { "system:linux" }
41-
linkoptions "-l:libmysqlclient.a"
41+
buildoptions { "-pthread" }
42+
linkoptions { "-l:libmysqlclient.a", "-pthread" }
43+
links { "z", "dl", "m" }
4244
else
4345
filter "system:linux"
4446
links { "mysqlclient" }

0 commit comments

Comments
 (0)