libsrtp: make uninstall before install
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
b503392f2e
commit
85542a2580
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue