Skip to content

Commit

Permalink
Append to REAL_LDFLAGS so LDFLAGS can be overridden by the user
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Jun 19, 2011
1 parent 608e29b commit cc8ed73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc8ed73

Please sign in to comment.