aboutsummaryrefslogtreecommitdiff
path: root/libraries/cdk/cdk-5.0_20090215-ldflags.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-12 23:30:01 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:30:01 +0200
commite83181cac9af71c710872e493438d995987bf86a (patch)
tree610161371696bce146335079488af88698d5775f /libraries/cdk/cdk-5.0_20090215-ldflags.patch
parent861ff71e559666adbc23c76cc3cc160249b1f3c4 (diff)
libraries/cdk: Added to 12.2 repository
Diffstat (limited to 'libraries/cdk/cdk-5.0_20090215-ldflags.patch')
-rw-r--r--libraries/cdk/cdk-5.0_20090215-ldflags.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/libraries/cdk/cdk-5.0_20090215-ldflags.patch b/libraries/cdk/cdk-5.0_20090215-ldflags.patch
new file mode 100644
index 0000000000000..0a2b244250827
--- /dev/null
+++ b/libraries/cdk/cdk-5.0_20090215-ldflags.patch
@@ -0,0 +1,33 @@
+--- Makefile.in.orig 2008-10-31 00:40:47.000000000 +0100
++++ Makefile.in 2009-02-02 19:14:59.892008198 +0100
+@@ -267,7 +267,7 @@
+ all cdklib :: $(DEFAULT)
+
+ $(CDKLIB) :: $(OBJECTS)
+- @echo creating $@; $(LIBTOOL_CREATE) $@ $(LIB_OBJECT)
++ @echo creating $@; $(LIBTOOL_CREATE) $@ $(LIB_OBJECT) $(LIBS)
+ @$(RANLIB) $@
+
+ cdkshlib $(CDKSHLIB) :: $(CDKSHOBJS)
+--- aclocal.m4.orig 2009-02-02 19:13:54.256006211 +0100
++++ aclocal.m4 2009-02-02 19:14:39.332007971 +0100
+@@ -2425,7 +2425,7 @@
+ 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` ${LDFLAGS} ${LIBTOOL_OPTS} -o'
+ LIB_OBJECT='${OBJECTS:.o=.lo}'
+ LIB_SUFFIX=.la
+ LIB_CLEAN='${LIBTOOL} --mode=clean'
+--- configure.orig 2009-02-02 19:30:01.000000000 +0100
++++ configure 2009-02-02 19:30:50.000000000 +0100
+@@ -3869,7 +3869,7 @@
+ 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` ${LDFLAGS} ${LIBTOOL_OPTS} -o'
+ LIB_OBJECT='${OBJECTS:.o=.lo}'
+ LIB_SUFFIX=.la
+ LIB_CLEAN='${LIBTOOL} --mode=clean'