From 3363820fb6d13688304eb96304519771ac700969 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 11 Aug 2019 23:52:32 +0200 Subject: [PATCH] - rtmpdump: update build --- make/target-libs.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make/target-libs.mk b/make/target-libs.mk index 539ab7dd..93a01ff7 100644 --- a/make/target-libs.mk +++ b/make/target-libs.mk @@ -968,12 +968,16 @@ $(D)/pugixml: $(ARCHIVE)/$(PUGIXML_SOURCE) | $(TARGET_DIR) RTMPDUMP_DEPS = $(D)/zlib $(D)/openssl +RTMPDUMP_MAKE_OPTS = \ + prefix= \ + mandir=$(remove-mandir) + $(D)/rtmpdump: $(RTMPDUMP_DEPS) $(SOURCE_DIR)/$(NI-RTMPDUMP) | $(TARGET_DIR) $(REMOVE)/$(NI-RTMPDUMP) tar -C $(SOURCE_DIR) -cp $(NI-RTMPDUMP) --exclude-vcs | tar -C $(BUILD_TMP) -x $(CHDIR)/$(NI-RTMPDUMP); \ - make CROSS_COMPILE=$(TARGET_CROSS) XCFLAGS="-I$(TARGET_INCLUDE_DIR) -L$(TARGET_LIB_DIR)" LDFLAGS="-L$(TARGET_LIB_DIR)" prefix=$(TARGET_DIR);\ - make install DESTDIR=$(TARGET_DIR) prefix="" mandir=$(remove-mandir) + make $(RTMPDUMP_MAKE_OPTS) CROSS_COMPILE=$(TARGET_CROSS) XCFLAGS="$(TARGET_CFLAGS)" XLDFLAGS="$(TARGET_LDFLAGS)";\ + make $(RTMPDUMP_MAKE_OPTS) install DESTDIR=$(TARGET_DIR) rm -rf $(TARGET_DIR)/sbin/rtmpgw rm -rf $(TARGET_DIR)/sbin/rtmpsrv rm -rf $(TARGET_DIR)/sbin/rtmpsuck