libsrtp: make uninstall before install

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2015-04-10 15:16:57 +02:00
parent b503392f2e
commit 85542a2580
2 changed files with 6 additions and 1 deletions

View File

@ -41,6 +41,11 @@ Protocol (SRTP) originally authored by Cisco Systems, Inc.
It is available under a BSD-style license.
endef
define Build/Install
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_INSTALL_DIR) uninstall
$(call Build/Install/Default)
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/srtp $(1)/usr/include/

View File

@ -83,7 +83,7 @@ CONFIGURE_ARGS += \
--disable-ffmpeg \
--disable-v4l2
TARGET_LDFLAGS+=-lc $(LIBGCC_S) -lm
TARGET_LDFLAGS+=-lc $(LIBGCC) -lm
TARGET_CFLAGS+=$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)
define Build/Compile