- Link with the C++ compiler because this is written in C++. - Link with all the required libraries to prevent undefined symbols. - Add only libtool libraries to LT_LIBS. Based on patches provided by Ben Collver in PR 34495.
13 lines
482 B
Text
13 lines
482 B
Text
$NetBSD: patch-ab,v 1.3 2006/12/10 23:02:40 minskim Exp $
|
|
|
|
--- Makefile.lib.in.orig 2002-01-22 03:57:53.000000000 -0800
|
|
+++ Makefile.lib.in
|
|
@@ -23,7 +23,7 @@ Makefile.lt:
|
|
echo 'LT_OBJS='`echo $(OBJS)|sed 's/\.o/.lo/g'` >Makefile.lt
|
|
|
|
lib$(LIB).la: $(LT_OBJS)
|
|
- $(LIBTOOL) --mode=link $(CC) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
|
|
+ $(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
|
|
-rpath $(libdir) -version-info $(LTVERSION) $(DEPLIBS)
|
|
|
|
install:
|