• 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: Have dylib, want to preserve drag-install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Have dylib, want to preserve drag-install


  • Subject: Re: Have dylib, want to preserve drag-install
  • From: Peter Mulholland <email@hidden>
  • Date: Sat, 13 Oct 2007 16:42:30 +0100

Hello Scott,

Saturday, October 13, 2007, 4:01:51 PM, you wrote:

> OK, my app is completely self-contained. Drag to install, drag again to
> update, drag to trash to uninstall, no extra stuff (except prefs) left
> behind.

> Now I want to add functionality provided by a 3rd-party library, and that
> library is only provided as a set of 6 dylibs whose installer puts them into
> /Library/FooLib/lib. I don't *want* to have an installer, and I'd prefer not
> to deal with weak linking.

> Is there any way to:

> - convert a dylib to a static library;

No

> - or set up the build so that the app loads these dylibs from
> Resources/FooLib relative to the current bundle, (or ../Resources/FooLib
> relative to the current executable);

Yes - look at install_name_tool. You can change it so that the dylibs
expect to be in "@executable_path" which would then let you put them
in your bundle, in Contents/MacOS/

> - or set up the build to statically link a dynamic library.

No

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
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: Have dylib, want to preserve drag-install
      • From: Scott Ribe <email@hidden>
References: 
 >Have dylib, want to preserve drag-install (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: GCC 3.3 template compile error?
  • Next by Date: Re: GCC 3.3 template compile error?
  • Previous by thread: Have dylib, want to preserve drag-install
  • Next by thread: Re: Have dylib, want to preserve drag-install
  • Index(es):
    • Date
    • Thread