Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[bug #37706] SQLClient links explicitly against -lobjc

13 views
Skip to first unread message

Sebastian Reitenbach

unread,
Nov 10, 2012, 4:35:53 AM11/10/12
to Sebastian Reitenbach, bug-g...@gnu.org
URL:
<http://savannah.gnu.org/bugs/?37706>

Summary: SQLClient links explicitly against -lobjc
Project: GNUstep
Submitted by: buzzdee
Submitted on: Sat 10 Nov 2012 09:35:52 AM GMT
Category: Libraries
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

Hi,

on OpenBSD I have libobjc2 installed as libobjc2.so.X.X, so gnustep-make is
told to link against -lobjc2. Since in the GNUmakefile of SQLClient, the
linker is told explicitly to link
against -lobjc using the XXX_libs_BUNDLE_LIBS = variable.

Because of that statement, and because gnustep-make is told to link against
-lobjc2, it basically links against both libobjc libraries, which is not so
nice.

Maybe in the configure stage, the right -lobjc parameter can be detected, and
then later used? I.e. using gnustep-config --objc-libs or gnustep-config
--base-libs ??






_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?37706>

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


Niels Grewe

unread,
Nov 10, 2012, 8:35:50 AM11/10/12
to Sebastian Reitenbach, Niels Grewe, bug-g...@gnu.org
Update of bug #37706 (project gnustep):

Status: None => Ready For Test
Open/Closed: Open => In Test

_______________________________________________________

Follow-up Comment #1:

Hi,

I replaced all occurrences of -lobjc and -lgnustep-base with gnustep-make's
$(FND_LIBS) and $(OBJC_LIBS) variables, which should do the right thing.
Please test...

Cheers,

Niels

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?37706>

_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/


Sebastian Reitenbach

unread,
Nov 10, 2012, 10:12:38 AM11/10/12
to Sebastian Reitenbach, Niels Grewe, bug-g...@gnu.org
Follow-up Comment #2, bug #37706 (project gnustep):

If I would have been aware of those two variables, I'd probably have proposed
the same patch.

Works like a charm for me.

thanks,
Sebastian

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?37706>

_______________________________________________

Niels Grewe

unread,
Nov 10, 2012, 1:14:17 PM11/10/12
to Sebastian Reitenbach, Niels Grewe, bug-g...@gnu.org
Update of bug #37706 (project gnustep):

Status: Ready For Test => Fixed
Open/Closed: In Test => Closed


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?37706>

_______________________________________________
0 new messages