ENH: Updated for static executable.

This commit is contained in:
Brad King 2003-01-06 14:27:48 -05:00
parent 234de625b2
commit a906703919
3 changed files with 7 additions and 10 deletions

View File

@ -7,8 +7,7 @@ WriteCMakeCache()
{
${CAT} > CMakeCache.txt <<EOF
BUILD_TESTING:BOOL=OFF
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-Wl,-a,archive
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-a,archive
CMAKE_SKIP_RPATH:BOOL=1
EOF
}

View File

@ -1,4 +1,4 @@
PLATFORM="x86-linux-static"
kPLATFORM="x86-linux-static"
CREATE_SOURCE_TARBALL="yes"
CURSES_LIBRARY="/usr/lib/libcurses.a"
FORM_LIBRARY="/usr/lib/libform.a"
@ -8,9 +8,8 @@ WriteCMakeCache()
{
${CAT} > CMakeCache.txt <<EOF
BUILD_TESTING:BOOL=OFF
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-static
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
CMAKE_EXE_LINKER_FLAGS:STRING=-static
CMAKE_SKIP_RPATH:BOOL=1
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
EOF

View File

@ -7,9 +7,8 @@ WriteCMakeCache()
{
${CAT} > CMakeCache.txt <<EOF
BUILD_TESTING:BOOL=OFF
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-static
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
CMAKE_EXE_LINKER_FLAGS:STRING=-static
CMAKE_SKIP_RPATH:BOOL=1
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
EOF