The Core Dump

The Core Dump is the personal blog of Nic Lindh, a Swedish-American pixel-pusher living in Phoenix, Arizona.

Search

[By Nic Lindh on Wednesday, 04 February 2004]

Building a GNU autoconf static library

[Putting this up here so I can find it for future reference.]To build a GNU autoconf-based tool into a static library on Mac OS X:./configure –disable-shared –enable-static(add –prefix=/wherever/you/want to install in a non-standard location)sudo make install (You obviously don’t have to sudo if you’re installing into a directory your user has privileges for.)Note that SmartyPants is turning double-hyphens into em-dashes. Be careful if you copy and paste.This will build a static library for easy inclusion into interesting Xcode projects.

You have thoughts? I’m @niclindh on Twitter and I want to know what you think.


« Das boob

Email that photo »