Skip to content

Commit e387cca

Browse files
committed
Merge branch 'feature/redhat-compile-fixes'
2 parents f5b44fe + f2560c4 commit e387cca

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Server/dbconmy/premake5.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ project "Dbconmy"
3535
filter "system:not windows"
3636
includedirs { "/usr/include/mysql" }
3737
links { "mysqlclient", "rt" }
38+
39+
filter {"system:linux", "platforms:x86"}
40+
libdirs { "/usr/lib32/mysql" }
41+
filter {"system:linux", "platforms:x64"}
42+
libdirs { "/usr/lib64/mysql" }
3843

3944
filter { "system:windows", "platforms:x64" }
4045
links { "../../vendor/mysql/lib/x64/libmysql.lib" }

premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ workspace "MTASA"
3838
}
3939

4040
-- Helper function for output path
41-
buildpath = function(p) return "%{wks.location}../Bin/"..p.."/" end
41+
buildpath = function(p) return "%{wks.location}/../Bin/"..p.."/" end
4242
copy = function(p) return "{COPY} %{cfg.buildtarget.abspath} %{wks.location}../Bin/"..p.."/" end
4343

4444
filter "platforms:x86"

0 commit comments

Comments
 (0)