rev 9142 - branches/kde4/packages/kdebindings/debian

Adeodato Simó adeodato at alioth.debian.org
Sat Jan 26 10:34:51 UTC 2008


Author: adeodato
Date: 2008-01-26 10:34:51 +0000 (Sat, 26 Jan 2008)
New Revision: 9142

Modified:
   branches/kde4/packages/kdebindings/debian/rules
Log:
Er, keep --as-needed, lots of spurious dependencies otherwise.


Modified: branches/kde4/packages/kdebindings/debian/rules
===================================================================
--- branches/kde4/packages/kdebindings/debian/rules	2008-01-26 09:34:23 UTC (rev 9141)
+++ branches/kde4/packages/kdebindings/debian/rules	2008-01-26 10:34:51 UTC (rev 9142)
@@ -19,7 +19,10 @@
 	-DCONFIG_INSTALL_DIR=/etc/kde4			\
 	-DDATA_INSTALL_DIR=/usr/share/kde4/apps		\
 	-DHTML_INSTALL_DIR=/usr/share/doc/kde4/HTML	\
-	-DKCFG_INSTALL_DIR=/usr/share/kde4/config.kcf
+	-DKCFG_INSTALL_DIR=/usr/share/kde4/config.kcf	\
+	-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed"	\
+	-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"	\
+	-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed"
 
 # OK, here we disable all that we don't want.
 # Please remove lines as you add packaging support for them.
@@ -68,7 +71,6 @@
 	    d=$(objdir)/python/pykde4-$$v; \
 	    mkdir $$d && cd $$d && \
 	    cmake $(CURDIR)/python/pykde4 $(cmake_flags) \
-	    -DCMAKE_SHARED_LINKER_FLAGS="" \
 	    -DPYTHON_EXECUTABLE=/usr/bin/python$$v; \
 	done
 




More information about the pkg-kde-commits mailing list