summaryrefslogtreecommitdiff
path: root/tests/libfetch
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/libfetch
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/libfetch')
-rw-r--r--tests/libfetch/GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/libfetch/GNUmakefile b/tests/libfetch/GNUmakefile
index 6f6099f..4452964 100644
--- a/tests/libfetch/GNUmakefile
+++ b/tests/libfetch/GNUmakefile
@@ -5,10 +5,11 @@ SUBDIRS =
INCLUDE_DIRS = \
-I$(TOPDIR)/libfetch
-INCLUDE_LDFLAGS =
+INCLUDE_LDFLAGS = \
+ -L$(TOPDIR)/libfetch
INCLUDE_LIBS = \
- $(TOPDIR)/libfetch/libfetch.a
+ -lfetch
# openssl
ifeq ($(WITH_SSL),1)