Skip to content

Commit

Permalink
fix make install-lib (gpac#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliendavid committed Apr 12, 2019
1 parent 76b58d6 commit 8256a66
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ ifeq ($(CONFIG_WIN32),yes)
$(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(DESTDIR)$(prefix)/bin
else
ifeq ($(DEBUGBUILD),no)
$(STRIP) bin/gcc/libgpac$(DYN_LIB_SUFFIX)
$(STRIP) -g bin/gcc/libgpac$(DYN_LIB_SUFFIX)
endif
ifeq ($(CONFIG_DARWIN),yes)
$(INSTALL) -m 755 bin/gcc/libgpac$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(VERSION)$(DYN_LIB_SUFFIX)
Expand Down Expand Up @@ -260,6 +260,9 @@ ifeq ($(GPAC_ENST), yes)
endif
mkdir -p "$(DESTDIR)$(prefix)/$(libdir)"
$(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(libdir)"
if [ -d $(DESTDIR)$(prefix)/$(libdir)/pkgconfig ] ; then \
$(INSTALL) $(INSTFLAGS) -m 644 gpac.pc "$(DESTDIR)$(prefix)/$(libdir)/pkgconfig" ; \
fi
$(MAKE) installdylib

uninstall-lib:
Expand All @@ -282,11 +285,6 @@ endif

ifeq ($(CONFIG_LINUX),yes)
deb:
@if [ ! -z "$(shell git diff FETCH_HEAD)" ]; then \
echo "Local revision and remote revision are not congruent; you may have local commit."; \
echo "Please consider pushing your commit before generating an installer"; \
exit 1; \
fi
git checkout -- debian/changelog
fakeroot debian/rules clean
sed -i "s/-DEV/-DEV-rev$(VERSION)-$(BRANCH)/" debian/changelog
Expand Down

0 comments on commit 8256a66

Please sign in to comment.