Skip to content

Commit

Permalink
Merge pull request mono#587 from madewokherd/gdipdllmap
Browse files Browse the repository at this point in the history
Ignore the gdiplus dllmap on Windows.
  • Loading branch information
Alex Rønne Petersen committed Oct 21, 2013
2 parents 67d6c8f + 3a44c65 commit 457a845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions data/config.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
<dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/>
<dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/>
</dllmap>
<dllmap dll="gdiplus" target="@prefix@/lib/libgdiplus@libsuffix@" />
<dllmap dll="gdiplus.dll" target="@prefix@/lib/libgdiplus@libsuffix@" />
<dllmap dll="gdiplus" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
<dllmap dll="gdiplus.dll" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
</configuration>
2 changes: 1 addition & 1 deletion runtime/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ etc/mono/config: ../data/config Makefile $(symlinks)
d=`cd ../support && pwd`; \
sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@t
if test -z "$(libgdiplus_loc)"; then :; else \
sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" />,' $@t > $@tt; \
sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" os="!windows"/>,' $@t > $@tt; \
mv -f $@tt $@t; fi
mv -f $@t $@

Expand Down

0 comments on commit 457a845

Please sign in to comment.