ENH: Updated for static executable.
This commit is contained in:
parent
234de625b2
commit
a906703919
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue