icu/icu.rhbz681941.extralinklm.patch
Caolán McNamara 208fe99d89 bump to 4.6
2011-03-07 10:55:22 +00:00

20 lines
579 B
Diff

--- icu/source/configure.in 2011-03-07 09:39:32.223725803 +0000
+++ icu/source/configure.in 2011-03-07 09:42:46.482876656 +0000
@@ -214,15 +214,7 @@
# Determine the Makefile fragment
ICU_CHECK_MH_FRAG
-# Checks for libraries and other host specific stuff
-# On HP/UX, don't link to -lm from a shared lib because it isn't
-# PIC (at least on 10.2)
-case "${host}" in
- *-*-hpux*) AC_CHECK_LIB(m, floor, LIB_M="-lm") ;;
-
- *) AC_CHECK_LIB(m, floor)
- LIB_M="" ;;
-esac
+AC_CHECK_LIB(m, floor, LIB_M="-lm")
AC_SUBST(LIB_M)
# Check whether to build shared libraries