ref: 44522094bfdd4c93176e12d233905d93ea12c50a
parent: c6aaf7d1170fda9a25dadf825dbbf9f4f23437ea
author: Martin Storsjö <martin@martin.st>
date: Wed Feb 19 06:48:58 EST 2014
Use CXX_LINK_O when building the shared library
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@
$(LIBPREFIX)wels.$(SHAREDLIBSUFFIX): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS) $(COMMON_OBJS)
$(QUIET)rm -f $@
- $(QUIET_CXX)$(CXX) -shared $(LDFLAGS) -o $@ $+
+ $(QUIET_CXX)$(CXX) -shared $(LDFLAGS) $(CXX_LINK_O) $+
install: $(LIBPREFIX)wels.$(LIBSUFFIX) $(LIBPREFIX)wels.$(SHAREDLIBSUFFIX)
mkdir -p $(PREFIX)/lib