Browse Source

- rtmpdump: update build

master
vanhofen 6 years ago
parent
commit
3363820fb6
  1. 8
      make/target-libs.mk

8
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

Loading…
Cancel
Save