diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2021-01-27 21:08:26 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2021-01-27 21:08:26 +0000 |
commit | c90f98b7d5bdaecb1c497b155af5347aedb1d617 (patch) | |
tree | b3c0a0ec7d1d48c2ba45b71bf4db12458dd2c4e3 | |
parent | abfd646c26f2e00484266507523c420bcb9ea7b8 (diff) | |
download | libdom-c90f98b7d5bdaecb1c497b155af5347aedb1d617.tar.gz libdom-c90f98b7d5bdaecb1c497b155af5347aedb1d617.tar.bz2 |
Fix pkg-config file expat library linkage
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | Makefile.config | 3 | ||||
-rw-r--r-- | libdom.pc.in | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -157,3 +157,6 @@ ifeq ($(WITH_HUBBUB_BINDING),yes) REQUIRED_PKGS := $(REQUIRED_PKGS) libhubbub endif +ifeq ($(WITH_EXPAT_BINDING),yes) + REQUIRED_LIBS := $(REQUIRED_LIBS) expat +endif diff --git a/Makefile.config b/Makefile.config index 04971d5..0aba3ff 100644 --- a/Makefile.config +++ b/Makefile.config @@ -3,6 +3,9 @@ # Build the libxml2 binding? # yes | no WITH_LIBXML_BINDING := no + +# Build the expat binding? +# yes | no WITH_EXPAT_BINDING := yes # Build the hubbub binding? diff --git a/libdom.pc.in b/libdom.pc.in index 406ed9e..86a97bb 100644 --- a/libdom.pc.in +++ b/libdom.pc.in @@ -7,5 +7,5 @@ Name: libdom Description: W3C DOM implementation Version: VERSION REQUIRED -Libs: -L${libdir} -ldom -lexpat +Libs: -L${libdir} -ldom LIBRARIES Cflags: -I${includedir} |