summaryrefslogtreecommitdiff
path: root/config/companion_libs.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/companion_libs.in')
-rw-r--r--config/companion_libs.in20
1 files changed, 17 insertions, 3 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in
index 0b0177c..2847f17 100644
--- a/config/companion_libs.in
+++ b/config/companion_libs.in
@@ -53,6 +53,11 @@ config LIBELF_NEEDED
select LIBELF
select COMPLIBS_NEEDED
+config EXPAT_NEEDED
+ bool
+ select EXPAT
+ select COMPLIBS_NEEDED
+
config COMPLIBS
bool
@@ -101,6 +106,13 @@ config LIBELF
config LIBELF_TARGET
bool
+config EXPAT
+ bool
+ select COMPLIBS
+
+config EXPAT_TARGET
+ bool
+
if LIBICONV
source "config/companion_libs/libiconv.in"
endif
@@ -130,9 +142,11 @@ comment "libelf version needed to build for target"
depends on !LIBELF
source "config/companion_libs/libelf.in"
endif
-
-config FOO
- bool
+if EXPAT || EXPAT_TARGET
+comment "expat version needed to build for target"
+ depends on !EXPAT
+source "config/companion_libs/expat.in"
+endif
if COMPLIBS