ENH: Updated for static executable.
This commit is contained in:
parent
234de625b2
commit
a906703919
|
@ -7,8 +7,7 @@ WriteCMakeCache()
|
||||||
{
|
{
|
||||||
${CAT} > CMakeCache.txt <<EOF
|
${CAT} > CMakeCache.txt <<EOF
|
||||||
BUILD_TESTING:BOOL=OFF
|
BUILD_TESTING:BOOL=OFF
|
||||||
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-Wl,-a,archive
|
CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-a,archive
|
||||||
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
|
CMAKE_SKIP_RPATH:BOOL=1
|
||||||
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
PLATFORM="x86-linux-static"
|
kPLATFORM="x86-linux-static"
|
||||||
CREATE_SOURCE_TARBALL="yes"
|
CREATE_SOURCE_TARBALL="yes"
|
||||||
CURSES_LIBRARY="/usr/lib/libcurses.a"
|
CURSES_LIBRARY="/usr/lib/libcurses.a"
|
||||||
FORM_LIBRARY="/usr/lib/libform.a"
|
FORM_LIBRARY="/usr/lib/libform.a"
|
||||||
|
@ -8,9 +8,8 @@ WriteCMakeCache()
|
||||||
{
|
{
|
||||||
${CAT} > CMakeCache.txt <<EOF
|
${CAT} > CMakeCache.txt <<EOF
|
||||||
BUILD_TESTING:BOOL=OFF
|
BUILD_TESTING:BOOL=OFF
|
||||||
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-static
|
CMAKE_EXE_LINKER_FLAGS:STRING=-static
|
||||||
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
|
CMAKE_SKIP_RPATH:BOOL=1
|
||||||
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
|
|
||||||
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
|
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
|
||||||
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
|
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -7,9 +7,8 @@ WriteCMakeCache()
|
||||||
{
|
{
|
||||||
${CAT} > CMakeCache.txt <<EOF
|
${CAT} > CMakeCache.txt <<EOF
|
||||||
BUILD_TESTING:BOOL=OFF
|
BUILD_TESTING:BOOL=OFF
|
||||||
CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-static
|
CMAKE_EXE_LINKER_FLAGS:STRING=-static
|
||||||
CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
|
CMAKE_SKIP_RPATH:BOOL=1
|
||||||
CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
|
|
||||||
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
|
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
|
||||||
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
|
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue