bugGNUstep - Bugs: bug #37706, SQLClient links explicitly against...

Group
 
 

bug #37706: SQLClient links explicitly against -lobjc

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Sat 10 Nov 2012 09:35:52 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 10 Nov 2012 03:12:38 PM UTC, comment #2: 

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

Sebastian Reitenbach <buzzdee>
Group Member
Sat 10 Nov 2012 01:35:50 PM UTC, 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

Niels Grewe <thebeing>
Group Member
Sat 10 Nov 2012 09:35:52 AM UTC, original submission:  

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 ??


Sebastian Reitenbach <buzzdee>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by thebeing (Posted a comment)
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-10 thebeing StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2012-11-10 thebeing StatusNone Ready For Test
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code