From 08bf9ed1ac868954feefdc812204fd6a4d4767e7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 8 Apr 2009 10:53:41 +0000 Subject: Fix test binary linkage svn path=/trunk/libnsfb/; revision=7063 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3