22 lines
642 B
Plaintext
22 lines
642 B
Plaintext
$OpenBSD: patch-configure_in,v 1.3 2009/09/10 16:43:41 sthen Exp $
|
|
--- configure.in.orig Wed Feb 25 10:03:11 2009
|
|
+++ configure.in Sun Jun 28 16:46:10 2009
|
|
@@ -115,7 +115,7 @@ then
|
|
saved_cflags="$CFLAGS"
|
|
saved_ldflags="$LDFLAGS"
|
|
saved_libs=$LIBS
|
|
- LIBS="$LIBS -llcms"
|
|
+ LIBS="$LIBS -llcms -lm"
|
|
CFLAGS="$CFLAGS $all_includes"
|
|
LDFLAGS="$LDFLAGS $all_libraries"
|
|
|
|
@@ -128,7 +128,7 @@ choke!
|
|
], [
|
|
cmsOpenProfileFromFile("foo", "r");
|
|
],
|
|
- [LCMS_LIBS='-llcms'; have_lcms='yes'])
|
|
+ [LCMS_LIBS='-llcms -lm'; have_lcms='yes'])
|
|
LIBS=$saved_libs
|
|
CFLAGS=$saved_cflags
|
|
LDFLAGS=$saved_ldflags
|