[Mono-dev] [RFC 10/10] configure: Fix linking against eglib
Andreas Färber
andreas.faerber at web.de
Mon Mar 29 18:56:18 EDT 2010
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm
and need for libiconv.
This commit is licensed under the MIT X11 license.
---
configure.in | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.in b/configure.in
index d23d2e3..5c784fc 100644
--- a/configure.in
+++ b/configure.in
@@ -540,11 +540,16 @@ AC_CONFIG_SUBDIRS(eglib)
case $with_glib in
embedded)
GLIB_CFLAGS='-I$(top_srcdir)/eglib/src -I$(top_builddir)/eglib/src'
- GLIB_LIBS='-L$(top_builddir)/eglib/src -leglib -lm'
+ GLIB_LIBS='$(top_builddir)/eglib/src/libeglib.la'
BUILD_GLIB_CFLAGS="$GLIB_CFLAGS"
- BUILD_GLIB_LIBS="$GLIB_LIBS"
+ BUILD_GLIB_LIBS='-L$(top_builddir)/eglib/src/.libs -leglib -lm'
GMODULE_CFLAGS="$GLIB_CFLAGS"
GMODULE_LIBS="$GLIB_LIBS"
+ case "$host" in
+ *-*-haiku*)
+ BUILD_GLIB_LIBS='-L$(top_builddir)/eglib/src/.libs -leglib -liconv'
+ ;;
+ esac
eglib_dir=eglib
;;
system)
--
1.7.0.3
More information about the Mono-devel-list
mailing list