Ignore the gdiplus dllmap on Windows.
authorVincent Povirk <madewokherd@gmail.com>
Sat, 2 Mar 2013 19:53:26 +0000 (13:53 -0600)
committerVincent Povirk <madewokherd@gmail.com>
Sat, 2 Mar 2013 19:54:47 +0000 (13:54 -0600)
data/config.in
runtime/Makefile.am

index 1faae012ef2be58c6435da97f162047d2a081ae3..32e075a3856e6aee10ab22d48ccba0ca89b7e918 100644 (file)
@@ -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>
index f8d500502a3ac246de0cb38b27d37721f2425dc8..a26fadfdef8fee239541f39896b7e2f3b9feb8e3 100644 (file)
@@ -182,7 +182,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 $@