Append to REAL_LDFLAGS so LDFLAGS can be overridden by the user

This commit is contained in:
Pieter Noordhuis 2011-06-19 12:34:41 +02:00
parent 608e29b375
commit cc8ed7360e
1 changed files with 1 additions and 1 deletions

View File

@ -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