shithub: openh264

Download patch

ref: 4f826f2e946529e6ba6133411083bdf6a920804d
parent: a39c46601d1348c5958d97e20852a34c50553f08
author: Sijia Chen <sijchen@cisco.com>
date: Wed Jan 14 11:31:48 EST 2015

add option for generating pdb in windows builds

--- a/build/msvc-common.mk
+++ b/build/msvc-common.mk
@@ -22,7 +22,7 @@
 # it unconditionally. The same issue can also be worked around by adding
 # -DGTEST_HAS_TR1_TUPLE=0 instead, but we prefer this version since it
 # matches what gtest itself does.
-CFLAGS += -nologo -W3 -EHsc -fp:precise -Zc:wchar_t -Zc:forScope -D_VARIADIC_MAX=10
+CFLAGS += -nologo -Fd$(PROJECT_NAME).pdb -W3 -EHsc -fp:precise -Zc:wchar_t -Zc:forScope -D_VARIADIC_MAX=10
 CXX_LINK_O=-nologo -Fe$@
 AR_OPTS=-nologo -out:$@
 CFLAGS_OPT=-O2 -Ob1 -Oy- -Zi -GF -Gm- -GS -Gy -DNDEBUG
@@ -40,5 +40,5 @@
 SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX)
 SHARED=-LD
 EXTRA_LIBRARY=$(PROJECT_NAME)_dll.lib
-SHLDFLAGS=-link -def:openh264.def -implib:$(EXTRA_LIBRARY)
+SHLDFLAGS=-link -Fd$(PROJECT_NAME).pdb -def:openh264.def -implib:$(EXTRA_LIBRARY)
 STATIC_LDFLAGS=