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

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #37706: SQLClient links explicitly against -lobjc

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Sat 10 Nov 2012 09:35:52 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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>
Project 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>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 10 Nov 2012 06:14:17 PM UTCthebeingStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Sat 10 Nov 2012 01:35:50 PM UTCthebeingStatusNone=>Ready For Test
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup