From 85542a25809354f0323bd12aa807fcc3acd66815 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 10 Apr 2015 15:16:57 +0200 Subject: [PATCH] libsrtp: make uninstall before install Signed-off-by: Daniel Golle --- libs/libsrtp/Makefile | 5 +++++ libs/pjproject/Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/libsrtp/Makefile b/libs/libsrtp/Makefile index ac09f55..4d7d5a6 100644 --- a/libs/libsrtp/Makefile +++ b/libs/libsrtp/Makefile @@ -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/ diff --git a/libs/pjproject/Makefile b/libs/pjproject/Makefile index fa8c30e..9d8de1e 100644 --- a/libs/pjproject/Makefile +++ b/libs/pjproject/Makefile @@ -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