forked from 0ad/0ad
parent
65d3bd642c
commit
935efedacf
@ -129,6 +129,11 @@ extern_lib_defs = {
|
|||||||
else
|
else
|
||||||
tinsert(package.buildoptions, "`pkg-config libxml-2.0 --cflags`")
|
tinsert(package.buildoptions, "`pkg-config libxml-2.0 --cflags`")
|
||||||
tinsert(package.gnu_external, "`pkg-config libxml-2.0 --libs`")
|
tinsert(package.gnu_external, "`pkg-config libxml-2.0 --libs`")
|
||||||
|
-- libxml2 needs _REENTRANT or __MT__ for thread support;
|
||||||
|
-- OS X doesn't get either set by default, so do it manually
|
||||||
|
if OS == "osx" then
|
||||||
|
tinsert(package.defines, "_REENTRANT")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user