Folks,

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.


    Werner

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to