shithub: openh264

Download patch

ref: 01068cc9b967e4931d9a584930304d8ca317ebbd
parent: c92caba2ff35b34c7256a8cb41f4f8bf2e06e038
parent: a65e761385e798f35fdc9f33c93b470f6a490a0d
author: guangwei <GuangweiWang@users.noreply.github.com>
date: Thu Nov 30 03:52:52 EST 2017

Merge pull request #2873 from pedronavf/patch-1

Allow the strip tool to be set by the caller

--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@
 GMP_API_BRANCH=Firefox39
 CCASFLAGS=$(CFLAGS)
 STATIC_LDFLAGS=-lstdc++
+STRIP ?= strip
 
 SHAREDLIB_MAJORVERSION=4
 FULL_VERSION := 1.7.0
@@ -230,7 +231,7 @@
 	$(QUIET_AR)$(AR) $(AR_OPTS) $+
 ifeq (True, $(PROCESS_FILES))
 	cp $@ $(LIBPREFIX)$(PROJECT_NAME)$(DEBUGSYMBOLS_TAG).$(LIBSUFFIX)
-	strip $(STRIP_FLAGS) $@ -o $@
+	$(STRIP) $(STRIP_FLAGS) $@ -o $@
 endif
 
 $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXFULLVER): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS) $(COMMON_OBJS)
@@ -238,7 +239,7 @@
 	$(QUIET_CXX)$(CXX) $(SHARED) $(CXX_LINK_O) $+ $(LDFLAGS) $(SHLDFLAGS)
 ifeq (True, $(PROCESS_FILES))
 	cp $@ $(LIBPREFIX)$(PROJECT_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIXFULLVER)
-	strip $(STRIP_FLAGS) $@ -o $@
+	$(STRIP) $(STRIP_FLAGS) $@ -o $@
 endif
 
 ifneq ($(SHAREDLIBSUFFIXFULLVER),$(SHAREDLIBSUFFIX))
@@ -268,7 +269,7 @@
 	$(QUIET_CXX)$(CXX) $(SHARED) $(CXX_LINK_O) $+ $(LDFLAGS) $(SHLDFLAGS) $(MODULE_LDFLAGS)
 ifeq (True, $(PROCESS_FILES))
 	cp $@ $(LIBPREFIX)$(MODULE_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIXFULLVER)
-	strip $(STRIP_FLAGS) $@ -o $@
+	$(STRIP) $(STRIP_FLAGS) $@ -o $@
 endif
 
 ifneq ($(SHAREDLIBSUFFIXFULLVER),$(SHAREDLIBSUFFIX))