Re: Use libcddb in my Cocoa App
Re: Use libcddb in my Cocoa App
- Subject: Re: Use libcddb in my Cocoa App
- From: Sherm Pendley <email@hidden>
- Date: Fri, 20 Jun 2003 17:07:07 -0400
On Thursday, June 19, 2003, at 12:55 PM, David Kopec wrote:
I don't get a .a file and I don't want to do make install
You didn't get a .a file *because* you didn't do a make install. ;-)
because I want to bundle the library in my application
That happens automatically with static libraries - that is, libraries
that have a .a extension, rather than a .dylib extension. Any code that
your app uses from the library is copied into your executable, and users
of your app won't need a separate copy of the library.
Note that the default build of libcddb builds both dynamic and static
libraries, and ld will link against the dynamic library by default, when
both are present. To build and install a static library only, you'll
need to use the "--disable-shared" option when running 'configure'.
BTW, are you aware of the implications of statically linking a LGPL'd
library into your app? You have to GPL your app if you do that, where if
you linked it against a shared copy of the library, you wouldn't have to.
sherm--
Welcome to Rivendell, Mr. Anderson.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.