shithub: openh264

Download patch

ref: 7bb422803db7bef9a12403f5b29e0a90dc7fc7cf
parent: 2531e26da13cd5ff9801cf32884b611d0f59a63d
parent: 013de2602a50d6e7122e2346250a27e887ee0666
author: ruil2 <ruil2@cisco.com>
date: Thu Jul 10 05:30:37 EDT 2014

Merge pull request #1131 from mstorsjo/avoid-hardcoding-paths

Use $(OutDir) instead of hardcoding the directory name

--- a/codec/build/win32/dec/WelsDecPlus.vcproj
+++ b/codec/build/win32/dec/WelsDecPlus.vcproj
@@ -72,7 +72,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies=".\..\..\..\..\bin\win32\Release\welsdcore.lib"
+				AdditionalDependencies="$(OutDir)\welsdcore.lib"
 				OutputFile="$(OutDir)\welsdec.dll"
 				LinkIncremental="1"
 				ModuleDefinitionFile="..\..\..\decoder\plus\src\wels_dec_export.def"
@@ -162,7 +162,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies=".\..\..\..\..\bin\win64\Release\welsdcore.lib"
+				AdditionalDependencies="$(OutDir)\welsdcore.lib"
 				OutputFile="$(OutDir)\welsdec.dll"
 				LinkIncremental="1"
 				ModuleDefinitionFile="..\..\..\decoder\plus\src\wels_dec_export.def"
@@ -250,7 +250,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies=".\..\..\..\..\bin\win32\Debug\welsdcore.lib"
+				AdditionalDependencies="$(OutDir)\welsdcore.lib"
 				OutputFile="$(OutDir)\welsdec.dll"
 				LinkIncremental="2"
 				ModuleDefinitionFile="..\..\..\decoder\plus\src\wels_dec_export.def"
@@ -336,7 +336,7 @@
 			/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies=".\..\..\..\..\bin\win64\Debug\welsdcore.lib"
+				AdditionalDependencies="$(OutDir)\welsdcore.lib"
 				OutputFile="$(OutDir)\welsdec.dll"
 				LinkIncremental="2"
 				ModuleDefinitionFile="..\..\..\decoder\plus\src\wels_dec_export.def"