2008-01-12 09:52:28 -05:00
|
|
|
$OpenBSD: patch-configure_in,v 1.2 2008/01/12 14:52:28 espie Exp $
|
|
|
|
--- configure.in.orig Sun Dec 23 23:33:09 2007
|
|
|
|
+++ configure.in Sat Jan 5 12:52:50 2008
|
|
|
|
@@ -117,7 +117,7 @@ then
|
|
|
|
saved_cflags="$CFLAGS"
|
|
|
|
saved_ldflags="$LDFLAGS"
|
2007-06-28 11:07:44 -04:00
|
|
|
saved_libs=$LIBS
|
|
|
|
- LIBS="$LIBS -llcms"
|
|
|
|
+ LIBS="$LIBS -llcms -lm"
|
2008-01-12 09:52:28 -05:00
|
|
|
CFLAGS="$CFLAGS $all_includes"
|
|
|
|
LDFLAGS="$LDFLAGS $all_libraries"
|
|
|
|
|
|
|
|
@@ -130,7 +130,7 @@ choke!
|
2007-06-28 11:07:44 -04:00
|
|
|
], [
|
|
|
|
cmsOpenProfileFromFile("foo", "r");
|
|
|
|
],
|
|
|
|
- [LCMS_LIBS='-llcms'; have_lcms='yes'])
|
|
|
|
+ [LCMS_LIBS='-llcms -lm'; have_lcms='yes'])
|
|
|
|
LIBS=$saved_libs
|
2008-01-12 09:52:28 -05:00
|
|
|
CFLAGS=$saved_cflags
|
|
|
|
LDFLAGS=$saved_ldflags
|