forked from mia/Aegisub
Add LDFLAGS to the link line for shared libraries, this fixes the build on OSX. (and should have been there anyway)
Originally committed to SVN as r4952.
This commit is contained in:
parent
52497737cd
commit
572e27f681
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ $(LIB) : $(OBJ)
|
|||
ifdef LIB_SHARED
|
||||
LIB_SHARED_FULL = $(LIB_SHARED).$(LIB_VERSION)
|
||||
$(LIB_SHARED) : $(OBJ)
|
||||
$(BIN_CXX) $(LIB_SHARED_LINK) $(OBJ) -o $(LIB_SHARED_FULL)
|
||||
$(BIN_CXX) $(LIB_SHARED_LINK) $(LDFLAGS) $(OBJ) -o $(LIB_SHARED_FULL)
|
||||
$(BIN_LN) -s $(LIB_SHARED_FULL) $(LIB_SHARED)
|
||||
|
||||
CLEANFILES+= $(LIB_SHARED_FULL)
|
||||
|
|
Loading…
Reference in a new issue