diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-03-23 15:26:26 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-03-23 15:26:26 +0300 |
commit | a831679db84f4bb8fe6a445a8504689e0089cfca (patch) | |
tree | d41d252c72b50dbb7e8289b96e41e94a61da5a1b /runtime | |
parent | 664892b1f95aece136d3a94788710b8ffb3ca4cd (diff) |
Allow testing of System.Drawing with a libgdiplus snapshot.
* configure.in (libgdiplus): New --with-libgdiplus option. Allow
the location of libgdiplus to be overridden.
* runtime/Makefile.am (wrapper-config): Override location of
libgdiplus if requested.
svn path=/trunk/mono/; revision=42139
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index 0cd5fb40f65..2b142d2d277 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -100,9 +100,13 @@ check-local: mcs-compileall mcs-do-test-profiles CLEANFILES = wrapper-config -wrapper-config: ../data/config +wrapper-config: ../data/config Makefile d=`cd ../support && pwd`; \ sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@ + if test -z "$(libgdiplus_topdir)"; then :; else \ + cp $@ $@t; \ + sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="'"$(libgdiplus_topdir)/src/libgdiplus.la"'" />,' $@t > $@; \ + fi $(tmpinst)/bin/mono: mono-wrapper wrapper-config cp mono-wrapper $@ |