Commit cc8ed736 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Append to REAL_LDFLAGS so LDFLAGS can be overridden by the user

parent 608e29b3
...@@ -30,7 +30,7 @@ STLIB_MAKE_CMD=ar rcs $(STLIBNAME) ...@@ -30,7 +30,7 @@ STLIB_MAKE_CMD=ar rcs $(STLIBNAME)
# Platform-specific overrides # Platform-specific overrides
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),SunOS) 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) DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
INSTALL= cp -r INSTALL= cp -r
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment