From 572e27f681e4054ceef60e13dddde9e18e6094ab Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sat, 11 Dec 2010 01:32:24 +0000 Subject: [PATCH] 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. --- aegisub/Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/Makefile.target b/aegisub/Makefile.target index 4e7a24faa..c012c478d 100644 --- a/aegisub/Makefile.target +++ b/aegisub/Makefile.target @@ -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)