libsrtp: make uninstall before install
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
b503392f2e
commit
85542a2580
2 changed files with 6 additions and 1 deletions
|
@ -41,6 +41,11 @@ Protocol (SRTP) originally authored by Cisco Systems, Inc.
|
||||||
It is available under a BSD-style license.
|
It is available under a BSD-style license.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Install
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_INSTALL_DIR) uninstall
|
||||||
|
$(call Build/Install/Default)
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/srtp $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/srtp $(1)/usr/include/
|
||||||
|
|
|
@ -83,7 +83,7 @@ CONFIGURE_ARGS += \
|
||||||
--disable-ffmpeg \
|
--disable-ffmpeg \
|
||||||
--disable-v4l2
|
--disable-v4l2
|
||||||
|
|
||||||
TARGET_LDFLAGS+=-lc $(LIBGCC_S) -lm
|
TARGET_LDFLAGS+=-lc $(LIBGCC) -lm
|
||||||
TARGET_CFLAGS+=$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)
|
TARGET_CFLAGS+=$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
|
Loading…
Reference in a new issue