pkgsrc-ng/security/nettle/patches/patch-config.make.in
2013-09-26 17:14:40 +02:00

18 lines
730 B
Plaintext

$NetBSD: patch-config.make.in,v 1.2 2013/04/29 16:42:25 adam Exp $
Use LIBTOOL.
--- config.make.in.orig 2011-04-26 08:41:17.000000000 +0000
+++ config.make.in
@@ -73,8 +73,8 @@ infodir = @infodir@
COMPILE = $(CC) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(CCPIC) $(DEP_FLAGS)
COMPILE_CXX = $(CXX) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(CCPIC) $(DEP_FLAGS)
-LINK = $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
-LINK_CXX = $(CXX) $(CXXFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
+LINK = ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
+LINK_CXX = ${LIBTOOL} --mode=link $(CXX) $(CXXFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
# Default rule. Must be here, since config.make is included before the
# usual targets.