Reply to self.
On Mon, 2009-05-11 at 10:26 +0200, Marcel Loose wrote:
--- 8 --- 8 --- 8 --- 8 --- 8 --- 8 --- 8 ---
In the mean time, is there a way to get rid of these spurious
-Wl,-Bdynamic and -Wl,-Bstatic flags?
OK, I'll use this dirty hack for the time being when creating statically
Marcel Loose wrote:
I'm really struggling to build statically linked executables with CMake
(also see my previous post with subject: Static linking and
find_library).
I've answered in that thread.
Furthermore I added the '-static' flag to the linker with
SET(CMAKE_EXE_LINKER_FLAGS -static).