summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index ad7018ed5c8..9338567cb54 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -671,6 +671,16 @@ if not _OPTIONS["with-system-flac"]~=nil then
}
end
+if not _OPTIONS["with-system-pugixml"] then
+ defines {
+ "PUGIXML_HEADER_ONLY",
+ }
+else
+ links {
+ ext_lib("pugixml"),
+ }
+end
+
if _OPTIONS["NOASM"]=="1" then
defines {
"MAME_NOASM"