18 lines
727 B
Plaintext
18 lines
727 B
Plaintext
$NetBSD: patch-config.make.in,v 1.3 2015/08/23 14:22:10 wiz Exp $
|
|
|
|
Use LIBTOOL.
|
|
|
|
--- config.make.in.orig 2015-04-24 17:22:03.000000000 +0000
|
|
+++ config.make.in
|
|
@@ -70,8 +70,8 @@ infodir = @infodir@
|
|
|
|
COMPILE = $(CC) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(EXTRA_CFLAGS) $(DEP_FLAGS)
|
|
COMPILE_CXX = $(CXX) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(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.
|