From cc8ed7360eb8e45929c1fe89302ee79b03e25777 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sun, 19 Jun 2011 12:34:41 +0200 Subject: Append to REAL_LDFLAGS so LDFLAGS can be overridden by the user --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 252f16d..d2d8ca5 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ STLIB_MAKE_CMD=ar rcs $(STLIBNAME) # Platform-specific overrides uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') ifeq ($(uname_S),SunOS) - LDFLAGS+=-ldl -lnsl -lsocket + REAL_LDFLAGS+= -ldl -lnsl -lsocket DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS) INSTALL= cp -r endif -- cgit v1.2.3