Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin <calvin@openmailbox.org>2017-02-15 02:30:52 +0300
committerCalvin <calvin@openmailbox.org>2017-02-27 18:27:52 +0300
commit79f69c8cd7048037ecffd40df223fb60f803cbdb (patch)
tree32169f96c1bcf3a0675a97524453da696f569a5e
parent52d4b9dcb79e9d5b0c86e6d9ff297e563d80bdee (diff)
Fix eglibc configure script on Haiku
Now properly recognizes -ltextencoding
-rw-r--r--configure.ac1
-rw-r--r--eglib/configure.ac3
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 738689b81d4..a01830680ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,7 +334,6 @@ case "$host" in
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE"
libmono_cflags="-D_REENTRANT -D_THREAD_SAFE"
libdl=
- dnl FIXME: Does eglib pick this up?
LIBS="$LIBS -lnetwork -ltextencoding"
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
diff --git a/eglib/configure.ac b/eglib/configure.ac
index 89f85d18e59..92cd6156f94 100644
--- a/eglib/configure.ac
+++ b/eglib/configure.ac
@@ -94,6 +94,9 @@ arm*-darwin*|aarch64*-*)
i*86-*-darwin*)
ORDER=G_LITTLE_ENDIAN
;;
+*-*-haiku*)
+ LDFLAGS="$LDFLAGS -ltextencoding"
+ ;;
*-*-openbsd*)
CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"