[CMake] Linking with -l and -L flags

William A. Hoffman billlist at nycap.rr.com
Thu Jan 12 16:05:30 EST 2006


>
>I'm not sure, but the problem seems to be that the linker is favoring
>shared object libraries over static libraries regardless of the order of
>the -L paths.  Thus, if I want to link in my static Tcl library the
>linker never chooses it.

Can you verify that with a make VERBOSE=1 to see the -L orders.
Then an otool -L executable.

-Bill




More information about the CMake mailing list