[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-all-static issues on OS X

From: Werner LEMBERG
Subject: -all-static issues on OS X
Date: Sun, 09 Feb 2014 06:49:45 +0100 (CET)


after configuring with libtool, I normally use

  make LDFLAGS="-all-static"

to create binaries that are dependent on system libraries only.  (Is
there a better way?)  However, under OS X, frameworks are not
included.  Instead, I have to explicitly write e.g.

  make LDFLAGS="-all-static -framework CoreFoundation"

I wonder why, since on Linux I don't have to specify any system
libraries that way.  Looking into the .la files, I see there are no
dependencies on frameworks at all, thus I would assume that a plain
`-all-static' just works... 

Note that I'm not a Mac user in general but rather forced to provide
universal, stand-alone binaries, so my knowledge on such issues is
very limited.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]