Use CXX_LINK_O when building the shared library

This commit is contained in:
Martin Storsjö 2014-02-19 11:48:58 +02:00
parent c6aaf7d117
commit 44522094bf

View File

@ -122,7 +122,7 @@ $(LIBPREFIX)wels.$(LIBSUFFIX): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS
$(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