diff options
author | Miguel de Icaza <miguel@gnome.org> | 2009-06-13 02:24:26 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2009-06-13 02:24:26 +0400 |
commit | 48747372cdcb4426745850909617b53a1b9a86c4 (patch) | |
tree | 918ffe9605ae51c181116287abd6dd9b0b4ee473 /configure.in | |
parent | 4e83ab598052ce9491653d959edcaee556a091f2 (diff) |
2008-12-15 Miguel de Icaza <miguel@novell.com>
* configure.in: Detect the proper LIB_PREFIX and LIB_SUFIX to fix
the crasher for gsharp when trying to Plot on other systems.
svn path=/trunk/mono-tools/; revision=136051
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 844ef9e6..4fe57679 100644 --- a/configure.in +++ b/configure.in @@ -118,6 +118,16 @@ if test -z "$CONFIG_REQUESTED" ; then enable_debug=yes fi +if test `uname -s` = "Darwin"; then + LIB_PREFIX= + LIB_SUFFIX=.dylib +else + LIB_PREFIX=.so + LIB_SUFFIX= +fi +AC_SUBST(LIB_PREFIX) +AC_SUBST(LIB_SUFFIX) + dnl dnl I hate PKG_CONFIG_MODULES, that is for the weak dnl @@ -159,6 +169,7 @@ AC_OUTPUT([ Makefile gsharp/Makefile gsharp/gsharp +gsharp/gsharp.exe.config gui-compare/Makefile gui-compare/gui-compare mperfmon/Makefile |