summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/lib.lua')
-rw-r--r--scripts/src/lib.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/src/lib.lua b/scripts/src/lib.lua
index 743dd2c1905..ba72f3cc140 100644
--- a/scripts/src/lib.lua
+++ b/scripts/src/lib.lua
@@ -13,9 +13,13 @@ project "utils"
MAME_DIR .. "src/osd",
MAME_DIR .. "src/lib/util",
MAME_DIR .. "3rdparty",
- MAME_DIR .. "3rdparty/expat/lib",
MAME_DIR .. "3rdparty/zlib",
}
+ if _OPTIONS["with-bundled-expat"] then
+ includedirs {
+ MAME_DIR .. "3rdparty/expat/lib",
+ }
+ end
files {
MAME_DIR .. "src/lib/util/bitstream.h",