Suppose I am going to use some library that is installable through autotools in my Cocoa application. Where should I “place” it? Should I run ./configure && make and then copy the .dynlib it to my Xcode project? Or is it better to execute ./configure && make && sudo make install and then configure my project to link to it? In the latter case, would the Xcode builder be smart enough to copy the library to the bundle?
Suppose I am going to use some library that is installable through autotools in
Share
I am not working with Mac OS X anymore. Anyway, I believe the preferred solution is either to link to the library statically or include the
.dynlibin the bundle.(I tried to install the library using autotools (aka
./configure && make && sudo make install) and then add the parameters to the project configuration; the result was that my application did not work in any machine where the library was not installed.)