summaryrefslogtreecommitdiff
path: root/tests/url/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-02 13:07:14 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-02 13:07:14 +0200
commit13da385aa7f5e9a9f52288fd7735d6dc806fab73 (patch)
tree15095ef90056092c59042da092a7ff330920223e /tests/url/GNUmakefile
parentda6dc57663d8934f84d6328c9d5d15b06962991e (diff)
downloadcrawler-13da385aa7f5e9a9f52288fd7735d6dc806fab73.tar.gz
crawler-13da385aa7f5e9a9f52288fd7735d6dc806fab73.tar.bz2
prefer dynamic to static linking (linking a non-PIC .a library
into a module is illegal, but on Linux!)
Diffstat (limited to 'tests/url/GNUmakefile')
-rw-r--r--tests/url/GNUmakefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/url/GNUmakefile b/tests/url/GNUmakefile
index 38de19c..47812da 100644
--- a/tests/url/GNUmakefile
+++ b/tests/url/GNUmakefile
@@ -10,13 +10,16 @@ INCLUDE_DIRS = \
-I$(TOPDIR)/src/modules/urlnormalizer/simpleurl \
-I$(TOPDIR)/src/modules/urlnormalizer/googleurl
-INCLUDE_LDFLAGS =
+INCLUDE_LDFLAGS = \
+ -L$(TOPDIR)/src \
+ -L$(TOPDIR)/googleurl
INCLUDE_LIBS = \
- $(TOPDIR)/src/libcrawler.a \
+ -lcurl \
$(TOPDIR)/src/modules/urlnormalizer/simpleurl/libsimpleurlnormalizer.a \
$(TOPDIR)/src/modules/urlnormalizer/googleurl/libgoogleurlnormalizer.a \
- $(TOPDIR)/googleurl/libgoogleurl.a \
+ -lgoogleurl \
+ -lcrawler \
-licui18n -licuuc
TEST_CPP_BINS = \