From 13da385aa7f5e9a9f52288fd7735d6dc806fab73 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 2 Sep 2012 13:07:14 +0200 Subject: prefer dynamic to static linking (linking a non-PIC .a library into a module is illegal, but on Linux!) --- tests/modules/testmod2/GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/modules/testmod2/GNUmakefile') diff --git a/tests/modules/testmod2/GNUmakefile b/tests/modules/testmod2/GNUmakefile index 3011479..90f1f05 100755 --- a/tests/modules/testmod2/GNUmakefile +++ b/tests/modules/testmod2/GNUmakefile @@ -10,9 +10,10 @@ INCLUDE_DIRS = \ INCLUDE_CXXFLAGS = \ INCLUDE_LDFLAGS = \ + -L$(TOPDIR)/src INCLUDE_LIBS = \ - $(TOPDIR)/src/libcrawler.a + -lcrawler DYNAMIC_MODULE = \ mod_test2.so -- cgit v1.2.3-54-g00ecf