diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-03 15:36:11 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-03 15:36:11 +0000 |
commit | 3680a278da394bace852e3eff4701789d6f29bf6 (patch) | |
tree | 5424c774cf22149fb1d59394b35eab07d5389884 | |
parent | d0335b1e40040044219730673d30a0bfe0d05c17 (diff) | |
download | libdom-3680a278da394bace852e3eff4701789d6f29bf6.tar.gz libdom-3680a278da394bace852e3eff4701789d6f29bf6.tar.bz2 |
Use pkg-config for hubbub cflags/libraries
svn path=/trunk/dom/; revision=6681
-rw-r--r-- | bindings/hubbub/Makefile | 4 | ||||
-rw-r--r-- | test/Makefile | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/bindings/hubbub/Makefile b/bindings/hubbub/Makefile index dd430c8..d98565a 100644 --- a/bindings/hubbub/Makefile +++ b/bindings/hubbub/Makefile @@ -19,9 +19,7 @@ # test Execute any test cases # Manipulate include paths -# TODO: fix hubbub include path finding -- needs hubbub to use pkgconfig -CFLAGS += -I$(CURDIR) \ - -I../../../hubbub/include +CFLAGS += -I$(CURDIR) `$(PKGCONFIG) --cflags libhubbub` # Release output RELEASE = ${TOP}/${COMPONENT}-libhubbub.a diff --git a/test/Makefile b/test/Makefile index f5f7233..0fb57d9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,9 +21,7 @@ # Extend toolchain settings CFLAGS += -I${TOP}/src/ -I${TOP}/bindings/xml/ -I${TOP}/bindings/hubbub/ \ -I$(CURDIR) -# TODO: fix hubbub library usage -- needs hubbub to use pkgconfig -LDFLAGS += `${PKGCONFIG} ${PKGCONFIGFLAGS} --libs libxml-2.0` \ - -L${TOP}/../hubbub/ -lhubbub +LDFLAGS += `${PKGCONFIG} ${PKGCONFIGFLAGS} --libs libxml-2.0 libhubbub` # Libraries we link against LIBS = -L./lib -ldomtest-debug -ldom-libxml-debug \ |