• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Forcing Xcode to prefer a specific dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing Xcode to prefer a specific dylib


  • Subject: Forcing Xcode to prefer a specific dylib
  • From: Brad Peterson <email@hidden>
  • Date: Thu, 17 Apr 2008 04:25:18 -0700 (PDT)

Hi all,

I'm trying to build an app that uses libcurl on 10.5.
However, it must also run on 10.4. (Yes, I could build
on 10.4, but that's a considerable hassle for me
personally.)

On 10.5, Xcode seems to prefer libcurl.4.dylib, even
though other earlier versions are available. Of
course, on 10.4, only libcurl.3.dylib is available.

I've tried everything I can think of, including (but
not limited to ;) ) using install_name_tool, -weak
linking, and so on, but to no avail.

So, I'd like to know how I can force Xcode to link
against libcurl.3.dylib instead of simply choosing the
latest version available.

I tried using -lcurl.3 in the build settings, but it
seems to ignore me.

Thanks!

B


      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Forcing Xcode to prefer a specific dylib
      • From: David Dunham <email@hidden>
    • Re: Forcing Xcode to prefer a specific dylib
      • From: Chris Hanson <email@hidden>
    • Re: Forcing Xcode to prefer a specific dylib
      • From: Chris Espinosa <email@hidden>
    • Re: Forcing Xcode to prefer a specific dylib
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: G4 867mhz, Leopard, and XCode 3
  • Next by Date: Re: Forcing Xcode to prefer a specific dylib
  • Previous by thread: Re: Arrays in the Debugger
  • Next by thread: Re: Forcing Xcode to prefer a specific dylib
  • Index(es):
    • Date
    • Thread