diff options
author | CrystalPT <CrystalPT@svn> | 2010-09-25 08:17:19 +0000 |
---|---|---|
committer | CrystalPT <CrystalPT@svn> | 2010-09-25 08:17:19 +0000 |
commit | a48a15761a321bcc2d898155e4c8551f7fdd026c (patch) | |
tree | 061552d610eec69f3c04abccac8ed21c4678ba23 | |
parent | 1d5f0b025acdfd5c1bf8524664884f1c8bcc5bb4 (diff) |
[WIN32] fixed: export libmodplug symbols. They can't be resolved at run time otherwise.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34173 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | lib/libmodplug/libmodplug.def | 11 | ||||
-rw-r--r-- | lib/libmodplug/libmodplug_2008.vcproj | 9 | ||||
-rw-r--r-- | lib/libmodplug/libmodplug_2010.vcxproj | 6 |
3 files changed, 25 insertions, 1 deletions
diff --git a/lib/libmodplug/libmodplug.def b/lib/libmodplug/libmodplug.def new file mode 100644 index 0000000000..adf04db5fe --- /dev/null +++ b/lib/libmodplug/libmodplug.def @@ -0,0 +1,11 @@ +LIBRARY libmodplug.dll
+EXPORTS
+
+ModPlug_Load
+ModPlug_Unload
+ModPlug_Read
+ModPlug_GetName
+ModPlug_GetLength
+ModPlug_Seek
+ModPlug_GetSettings
+ModPlug_SetSettings
diff --git a/lib/libmodplug/libmodplug_2008.vcproj b/lib/libmodplug/libmodplug_2008.vcproj index f19eb9ad50..d51fdccbe3 100644 --- a/lib/libmodplug/libmodplug_2008.vcproj +++ b/lib/libmodplug/libmodplug_2008.vcproj @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="9,00"
+ Version="9.00"
Name="libmodplug_2008"
ProjectGUID="{C15B374E-7126-48FF-B618-A375D7B17FCF}"
RootNamespace="libmodplug_2008"
@@ -64,6 +64,8 @@ <Tool
Name="VCLinkerTool"
OutputFile="..\..\system\players\paplayer\libmodplug.dll"
+ ModuleDefinitionFile="libmodplug.def"
+ GenerateDebugInformation="true"
/>
<Tool
Name="VCALinkTool"
@@ -136,6 +138,7 @@ <Tool
Name="VCLinkerTool"
OutputFile="..\..\system\players\paplayer\libmodplug.dll"
+ ModuleDefinitionFile="libmodplug.def"
/>
<Tool
Name="VCALinkTool"
@@ -168,6 +171,10 @@ >
</File>
<File
+ RelativePath=".\libmodplug.def"
+ >
+ </File>
+ <File
RelativePath=".\src\load_669.cpp"
>
</File>
diff --git a/lib/libmodplug/libmodplug_2010.vcxproj b/lib/libmodplug/libmodplug_2010.vcxproj index f51fe78285..aab38b562d 100644 --- a/lib/libmodplug/libmodplug_2010.vcxproj +++ b/lib/libmodplug/libmodplug_2010.vcxproj @@ -64,6 +64,8 @@ </ClCompile>
<Link>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ModuleDefinitionFile>libmodplug.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "$(SolutionDir)..\..\system\players\paplayer\$(TargetFileName)"</Command>
@@ -85,6 +87,7 @@ </ClCompile>
<Link>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
+ <ModuleDefinitionFile>libmodplug.def</ModuleDefinitionFile>
</Link>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "$(SolutionDir)..\..\system\players\paplayer\$(TargetFileName)"</Command>
@@ -131,6 +134,9 @@ <ClInclude Include="src\modplug.h" />
<ClInclude Include="src\tables.h" />
</ItemGroup>
+ <ItemGroup>
+ <None Include="libmodplug.def" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
|