1 PLATFORM="x86-linux-static"
2 CREATE_SOURCE_TARBALL="yes"
3 CURSES_LIBRARY="/usr/lib/libcurses.a"
4 FORM_LIBRARY="/usr/lib/libform.a"
6 # Write entries into the cache file before building cmake.
9 ${CAT} > CMakeCache.txt <<EOF
10 BUILD_TESTING:BOOL=OFF
11 CMAKE_EXE_LINKER_FLAGS:STRING=-static
12 CMAKE_SKIP_RPATH:BOOL=1
13 CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
14 FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}