summaryrefslogtreecommitdiff
path: root/graphics/libgiigic/patches/patch-configure.in
blob: 125f7797ae8bb7e6188fc84e792c9a5627e5b6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-configure.in,v 1.1 2013/09/10 14:20:47 joerg Exp $

--- configure.in.orig	2013-09-10 12:13:18.000000000 +0000
+++ configure.in
@@ -92,7 +92,7 @@ dnl Testing libs should use libtool but 
 dnl This isn't a problem during the build because libtool is always used.
 dnl Wish I could use $LIBTOOL, but it is written for Makefile use.
 save_CC="$CC"
-CC="$SHELL ./libtool $CC"
+CC="$SHELL ./libtool --mode=link $CC"
 AC_CHECK_LIB(gii,giiInit,foo=bar,
   AC_MSG_ERROR([LibGII is not properly installed on the system.
 		You need LibGII for building LibGIC. Please compile
@@ -108,7 +108,7 @@ dnl Testing libs should use libtool but 
 dnl This isn't a problem during the build because libtool is always used.
 dnl Wish I could use $LIBTOOL, but it is written for Makefile use.
 save_CC="$CC"
-CC="$SHELL ./libtool $CC"
+CC="$SHELL ./libtool --mode=link $CC"
 AC_CHECK_LIB(ggi,ggiInit,foo=bar,ggi_missing_part=yes)
 CC="$save_CC"