summaryrefslogtreecommitdiff
path: root/libexpat/libexpat/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libexpat/libexpat/buildfile')
-rw-r--r--libexpat/libexpat/buildfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/libexpat/libexpat/buildfile b/libexpat/libexpat/buildfile
index ef06a2e..c20e977 100644
--- a/libexpat/libexpat/buildfile
+++ b/libexpat/libexpat/buildfile
@@ -1,11 +1,13 @@
# file : libexpat/buildfile
# license : MIT; see accompanying COPYING file
+lib{expat}: libul{expat}
+
# xmltok_{impl,nc}.c files are included into xmltok.c, so exclude them from
# the compilation.
#
-lib{expat}: h{*} c{* -xmltok_impl -xmltok_ns}
-lib{expat}: c{xmltok_impl xmltok_ns}: include = false
+{libul libue}{expat}: h{*} c{* -xmltok_impl -xmltok_ns}
+{libul libue}{expat}: c{xmltok_impl xmltok_ns}: include = false
tclass = $c.target.class
@@ -21,7 +23,7 @@ libs{expat}: def{libexpat}: include = $msvc_runtime
# Build options.
#
-c.poptions += -DHAVE_EXPAT_CONFIG_H
+c.poptions += -DHAVE_EXPAT_CONFIG_H -DXML_BUILDING_EXPAT
if! $msvc_runtime
c.poptions += -DXML_ENABLE_VISIBILITY=1