summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-08 10:53:41 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-08 10:53:41 +0000
commit08bf9ed1ac868954feefdc812204fd6a4d4767e7 (patch)
tree96445a41a9e26fc0bfdbf9b8df1a1a4334d0dd6f
parent2c6ba996e6c2afb32384344b00bb3d0a67b11fd5 (diff)
downloadlibnsfb-08bf9ed1ac868954feefdc812204fd6a4d4767e7.tar.gz
libnsfb-08bf9ed1ac868954feefdc812204fd6a4d4767e7.tar.bz2
Fix test binary linkage
svn path=/trunk/libnsfb/; revision=7063
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 05f2d28..d6c1764 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,9 @@ WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
CFLAGS := -g $(CFLAGS) -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS)
+# TODO: probably want to retrieve SDL from pkg-config
+TESTLDFLAGS = -Wl,--whole-archive -l$(COMPONENT)$(major-version) -Wl,--no-whole-archive -lSDL
+
include build/makefiles/Makefile.top
# Extra installation rules