• 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
Re: settings for dylibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: settings for dylibs


  • Subject: Re: settings for dylibs
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 5 Oct 2005 08:57:42 -0700


On Oct 4, 2005, at 10:01 AM, Theodore Petrosky wrote:

I have been using xcode since project builder. so

although i am not a total newbie, I feel like one.


i have a project that I link against the postgresql 

libpq. everything was great until version 8... with

this new version there is a libpq.3.2.dylib that

exists at /usr/local/pgsql/lib.


how do I tell xcpode to ignore this when I compile for

deployment. My current methodology is to remove this

file before I compile then replace it when I am done.

this has been working fine for months however i feel

it  is time to start learning how to do it correctly.

if i compile with the file in place, my resultant

program requires this dylib at that path. I don't want

this. I want a stand alone that I can freely copy to

any machine and run.


how do I tell xcode to compile as if this dylib

doesn't exist?


You remove the library from your project, and instead add an Other Linker Flags of

-weak_library file_name_path_to_library

Chris
 _______________________________________________
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

References: 
 >settings for dylibs (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: applescripting xcode (beginner)
  • Next by Date: Project Find will not work properly
  • Previous by thread: settings for dylibs
  • Next by thread: Carbon app converting from Xcode 1.5 to Xcode 2.1
  • Index(es):
    • Date
    • Thread