[bug #30299] Renaissance needs to link against needed libraries

2010-07-01 Thread Nicola Pero

Follow-up Comment #1, bug #30299 (project gnustep):

Thanks Yavor

very useful feedback - this is related to bug #24109 (again, thanks for the
suggestions in there!) in the sense that the current default behaviour of
gnustep-make when linking libraries (all libraries, not just gnustep-gui or
Renaissance) does not seem to be the best / what packagers are used to. ;-)

So I think I'd like to change gnustep-make so that, at least on GNU/Linux:

 * all libraries are linked with everything they depend on

 * we automatically use -Wl,--as-needed and -Wl,-z,defs

(We could make it internally easy to change inside gnustep-make so that we
can have different behaviours on different platforms, and so that the
behaviour can be changed with a ./configure switch or via a makefile
variable).

Thanks

___

Reply to this item at:

  http://savannah.gnu.org/bugs/?30299

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep


[bug #30299] Renaissance needs to link against needed libraries

2010-06-30 Thread Yavor Doganov

URL:
  http://savannah.gnu.org/bugs/?30299

 Summary: Renaissance needs to link against needed libraries
 Project: GNUstep
Submitted by: yavor
Submitted on: Wed 30 Jun 2010 10:13:52 AM EEST
Category: Libraries
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

This is most probably never a problem at runtime, because any app that uses
Renaissance already links against libobjc, -base and -gui so the libraries are
loaded before Renaissance needs them.  However, it is causing us trouble in
Debian because the release team cannot reliably determine that the renaissance
package needs to be rebuilt during GNUstep transitions (because it doesn't
link against GNUstep libraries, the librenaissance0 package doesn't pick the
dependencies).

The attached patch has been in Debian for some time; I believe it is
completely safe.



___

File Attachments:


---
Date: Wed 30 Jun 2010 10:13:52 AM EEST  Name: link-libs.patch  Size: 471B  
By: yavor

http://savannah.gnu.org/bugs/download.php?file_id=20857

___

Reply to this item at:

  http://savannah.gnu.org/bugs/?30299

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep