Install the shared library as well

This commit is contained in:
Martin Storsjö 2014-02-19 13:10:57 +02:00
parent 03c00dc226
commit c6aaf7d117

View File

@ -124,10 +124,11 @@ $(LIBPREFIX)wels.$(SHAREDLIBSUFFIX): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSIN
$(QUIET)rm -f $@
$(QUIET_CXX)$(CXX) -shared $(LDFLAGS) -o $@ $+
install: $(LIBPREFIX)wels.$(LIBSUFFIX)
install: $(LIBPREFIX)wels.$(LIBSUFFIX) $(LIBPREFIX)wels.$(SHAREDLIBSUFFIX)
mkdir -p $(PREFIX)/lib
mkdir -p $(PREFIX)/include/wels
install -m 644 $(LIBPREFIX)wels.$(LIBSUFFIX) $(PREFIX)/lib
install -m 755 $(LIBPREFIX)wels.$(SHAREDLIBSUFFIX) $(PREFIX)/lib
install -m 644 codec/api/svc/codec*.h $(PREFIX)/include/wels
ifeq ($(HAVE_GTEST),Yes)