do not add architecture-dependent library directories on macOS
This commit is contained in:
parent
38ddf0b8eb
commit
3264c59f45
@ -236,8 +236,20 @@
|
|||||||
|
|
||||||
gcc.libraryDirectories = {
|
gcc.libraryDirectories = {
|
||||||
architecture = {
|
architecture = {
|
||||||
x86 = "-L/usr/lib32",
|
x86 = function (cfg)
|
||||||
x86_64 = "-L/usr/lib64",
|
local r = {}
|
||||||
|
if cfg.system ~= premake.MACOSX then
|
||||||
|
table.insert (r, "-L/usr/lib32")
|
||||||
|
end
|
||||||
|
return r
|
||||||
|
end,
|
||||||
|
x86_64 = function (cfg)
|
||||||
|
local r = {}
|
||||||
|
if cfg.system ~= premake.MACOSX then
|
||||||
|
table.insert (r, "-L/usr/lib64")
|
||||||
|
end
|
||||||
|
return r
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
system = {
|
system = {
|
||||||
wii = "-L$(LIBOGC_LIB)",
|
wii = "-L$(LIBOGC_LIB)",
|
||||||
|
Loading…
Reference in New Issue
Block a user