summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-19 12:34:41 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-19 12:34:41 +0200
commitcc8ed7360eb8e45929c1fe89302ee79b03e25777 (patch)
tree8bef7ef4472b703671a791a4f850c3687e9dbb81 /Makefile
parent608e29b375e49f7534f57edd1dc895c19ede0123 (diff)
Append to REAL_LDFLAGS so LDFLAGS can be overridden by the user
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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