shithub: openh264

Download patch

ref: f8516bb8af0a88ec54dbddc1b20af442739e7473
parent: e77a1018854a730edf2c3750529fb50279435f2f
author: Guangwei Wang <guangwwa@cisco.com>
date: Tue Jun 28 11:58:25 EDT 2016

fix

--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,7 @@
 CFLAGS += -g
 CXXFLAGS += -g
 DEBUGSYMBOLS_TAG := _debug_symbols
+PROCESS_FILES := True
 endif
 else
 CFLAGS += $(CFLAGS_DEBUG)
@@ -227,7 +228,7 @@
 $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS) $(COMMON_OBJS)
 	$(QUIET)rm -f $@
 	$(QUIET_AR)$(AR) $(AR_OPTS) $+
-ifeq (True, $(DEBUGSYMBOLS))
+ifeq (True, $(PROCESS_FILES))
 	cp $@ $(LIBPREFIX)$(PROJECT_NAME)$(DEBUGSYMBOLS_TAG).$(LIBSUFFIX)
 	strip $(STRIP_FLAGS) $@ -o $@
 endif
@@ -235,7 +236,7 @@
 $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER): $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS) $(COMMON_OBJS)
 	$(QUIET)rm -f $@
 	$(QUIET_CXX)$(CXX) $(SHARED) $(CXX_LINK_O) $+ $(LDFLAGS) $(SHLDFLAGS)
-ifeq (True, $(DEBUGSYMBOLS))
+ifeq (True, $(PROCESS_FILES))
 	cp $@ $(LIBPREFIX)$(PROJECT_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIXVER)
 	strip $(STRIP_FLAGS) $@ -o $@
 endif
@@ -243,7 +244,7 @@
 ifneq ($(SHAREDLIBSUFFIXVER),$(SHAREDLIBSUFFIX))
 $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX): $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER)
 	$(QUIET)ln -sfn $+ $@
-ifeq (True, $(DEBUGSYMBOLS))
+ifeq (True, $(PROCESS_FILES))
 	$(QUIET)ln -sfn $(LIBPREFIX)$(PROJECT_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIXVER) $(LIBPREFIX)$(PROJECT_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIX)
 endif
 endif
@@ -263,7 +264,7 @@
 $(LIBPREFIX)$(MODULE_NAME).$(SHAREDLIBSUFFIXVER): $(MODULE_OBJS) $(ENCODER_OBJS) $(DECODER_OBJS) $(PROCESSING_OBJS) $(COMMON_OBJS)
 	$(QUIET)rm -f $@
 	$(QUIET_CXX)$(CXX) $(SHARED) $(CXX_LINK_O) $+ $(LDFLAGS) $(SHLDFLAGS) $(MODULE_LDFLAGS)
-ifeq (True, $(DEBUGSYMBOLS))
+ifeq (True, $(PROCESS_FILES))
 	cp $@ $(LIBPREFIX)$(MODULE_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIXVER)
 	strip $(STRIP_FLAGS) $@ -o $@
 endif
@@ -271,7 +272,7 @@
 ifneq ($(SHAREDLIBSUFFIXVER),$(SHAREDLIBSUFFIX))
 $(MODULE): $(LIBPREFIX)$(MODULE_NAME).$(SHAREDLIBSUFFIXVER)
 	$(QUIET)ln -sfn $+ $@
-ifeq (True, $(DEBUGSYMBOLS))
+ifeq (True, $(PROCESS_FILES))
 	$(QUIET)ln -sfn $(LIBPREFIX)$(MODULE_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIXVER) $(LIBPREFIX)$(MODULE_NAME)$(DEBUGSYMBOLS_TAG).$(SHAREDLIBSUFFIX)
 endif
 endif