rpms/nautilus/devel nautilus.spec,1.243,1.244

Matthias Clasen mclasen at fedoraproject.org
Tue Dec 16 07:17:55 UTC 2008


Author: mclasen

Update of /cvs/pkgs/rpms/nautilus/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25467

Modified Files:
	nautilus.spec 
Log Message:
add a comment



Index: nautilus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nautilus/devel/nautilus.spec,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -r1.243 -r1.244
--- nautilus.spec	16 Dec 2008 07:10:06 -0000	1.243
+++ nautilus.spec	16 Dec 2008 07:17:25 -0000	1.244
@@ -134,6 +134,8 @@
 
 CFLAGS="$RPM_OPT_FLAGS -g -DUGLY_HACK_TO_DETECT_KDE -DNAUTILUS_OMIT_SELF_CHECK" %configure --disable-more-warnings --disable-update-mimedb
 
+# drop unneeded direct library deps with --as-needed
+# libtool doesn't make this easy, so we do it the hard way
 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
 
 export tagname=CC




More information about the fedora-extras-commits mailing list