summaryrefslogtreecommitdiff
blob: 9e58ba48a49d2380f63ad36b58e063a483f9606d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
--- dialog-1.1-20080819/aclocal.m4
+++ dialog-1.1-20080819/aclocal.m4
@@ -3037,6 +3037,7 @@
 ])
 # common library maintenance symbols that are convenient for libtool scripts:
 LIB_CREATE='${AR} -cr'
+LIB_LIBS=''
 LIB_OBJECT='${OBJECTS}'
 LIB_SUFFIX=.a
 LIB_PREP="$RANLIB"
@@ -3071,7 +3072,8 @@
  		AC_MSG_ERROR(Cannot find libtool)
  	fi
 ])dnl
-	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} -o'
+	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LDFLAGS} -o'
+	LIB_LIBS='$(LIBS)'
 	LIB_OBJECT='${OBJECTS:.o=.lo}'
 	LIB_SUFFIX=.la
 	LIB_CLEAN='${LIBTOOL} --mode=clean'
@@ -3114,6 +3116,7 @@
 AC_SUBST(LIBTOOL_OPTS)
 
 AC_SUBST(LIB_CREATE)
+AC_SUBST(LIB_LIBS)
 AC_SUBST(LIB_OBJECT)
 AC_SUBST(LIB_SUFFIX)
 AC_SUBST(LIB_PREP)
--- dialog-1.1-20080819/configure
+++ dialog-1.1-20080819/configure
@@ -7113,6 +7113,7 @@
 
 # common library maintenance symbols that are convenient for libtool scripts:
 LIB_CREATE='${AR} -cr'
+LIB_LIBS=''
 LIB_OBJECT='${OBJECTS}'
 LIB_SUFFIX=.a
 LIB_PREP="$RANLIB"
@@ -7217,7 +7218,8 @@
 echo "$as_me: error: Cannot find libtool" >&2;}
    { (exit 1); exit 1; }; }
  	fi
-	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} -o'
+	LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LDFLAGS} -o'
+	LIB_LIBS='$(LIBS)'
 	LIB_OBJECT='${OBJECTS:.o=.lo}'
 	LIB_SUFFIX=.la
 	LIB_CLEAN='${LIBTOOL} --mode=clean'
@@ -11460,6 +11462,7 @@
 s,@LIBTOOL_CXX@,$LIBTOOL_CXX,;t t
 s,@LIBTOOL_OPTS@,$LIBTOOL_OPTS,;t t
 s,@LIB_CREATE@,$LIB_CREATE,;t t
+s,@LIB_LIBS@,$LIB_LIBS,;t t
 s,@LIB_OBJECT@,$LIB_OBJECT,;t t
 s,@LIB_SUFFIX@,$LIB_SUFFIX,;t t
 s,@LIB_PREP@,$LIB_PREP,;t t
--- dialog-1.1-20080819/makefile.in
+++ dialog-1.1-20080819/makefile.in
@@ -51,6 +51,7 @@
 LIBTOOL_CLEAN	= @LIB_CLEAN@
 LIBTOOL_COMPILE	= @LIB_COMPILE@
 LIBTOOL_CREATE	= @LIB_CREATE@
+LIBTOOL_LIBS	= @LIB_LIBS@
 LIBTOOL_LINK	= @LIB_LINK@
 LIBTOOL_INSTALL	= @LIB_INSTALL@
 LIBTOOL_UNINSTALL = @LIB_UNINSTALL@
@@ -125,11 +126,11 @@
 $(OBJECTS) : $(srcdir)/dialog.h $(srcdir)/dlg_keys.h dlg_config.h VERSION
 
 $(LIB) : $(LIB_OBJECT)
-	$(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT)
+	$(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT) $(LIBTOOL_LIBS)
 	$(RANLIB) $@
 
 dialog$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@
-	$(LINK) -o $@ dialog$o -L. -ldialog $(LDFLAGS) $(LIBS)
+	$(LINK) $(LDFLAGS) -o $@ dialog$o -L. -ldialog $(LIBS)
 
 clean	\
 distclean \