summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.top
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2009-04-21 21:04:24 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2009-04-21 21:04:24 +0000
commit1cdd40efb914da8ebaadaa8ffde9b57e2a06b7d7 (patch)
treee8fba961368dcf1dd976e6a72f4e678c2fb55799 /makefiles/Makefile.top
parent1812a9f93a917f637d73663f388c30ebcadcb3f1 (diff)
downloadbuildsystem-1cdd40efb914da8ebaadaa8ffde9b57e2a06b7d7.tar.gz
buildsystem-1cdd40efb914da8ebaadaa8ffde9b57e2a06b7d7.tar.bz2
Fix TESTLDFLAGS for shared object name change
svn path=/trunk/tools/buildsystem/; revision=7205
Diffstat (limited to 'makefiles/Makefile.top')
-rw-r--r--makefiles/Makefile.top6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top
index cbd8af2..2501fa6 100644
--- a/makefiles/Makefile.top
+++ b/makefiles/Makefile.top
@@ -442,7 +442,11 @@ $(eval $(foreach SOURCE,$(filter %.cmhg,$(SOURCES)), \
ifeq ($(WANT_TEST),yes)
ifeq ($(findstring lib,$(COMPONENT_TYPE)),lib)
TESTLIB := $(OUTPUT)
- TESTLDFLAGS += -L$(BUILDDIR)/ -l$(COMPONENT)$(major-version)
+ ifeq ($(findstring lib-shared,$(COMPONENT_TYPE)),lib-shared)
+ TESTLDFLAGS += -L$(BUILDDIR)/ -l$(COMPONENT)
+ else
+ TESTLDFLAGS += -L$(BUILDDIR)/ -l$(COMPONENT)$(major-version)
+ endif
endif
TESTCFLAGS += $(CFLAGS)