A few tweaks.

pull/54/merge
Jussi Pakkanen 10 years ago
parent 47400c70c3
commit bae29b7f7c
  1. 2
      manual tests/3 standalone binaries/build_linux_package.sh
  2. 2
      manual tests/3 standalone binaries/myapp.cpp

@ -3,7 +3,7 @@
curdir=`pwd`
rm -rf buildtmp
mkdir buildtmp
LDFLAGS=-static-libstdc++ ~/meson/meson.py buildtmp --buildtype=release --prefix=/tmp/myapp --libdir=lib
LDFLAGS=-static-libstdc++ ~/meson/meson.py buildtmp --buildtype=release --prefix=/tmp/myapp --libdir=lib --strip
ninja -C buildtmp install
rm -rf buildtmp
cd /tmp/

@ -17,7 +17,7 @@ int main(int argc, char **argv) {
std::unique_ptr<SDL_Window, void(*)(SDL_Window*)> window(SDL_CreateWindow( "My application", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN), SDL_DestroyWindow);
screenSurface = SDL_GetWindowSurface(window.get());
// Use iostream etc to make sure we have not screwed
// Use iostream to make sure we have not screwed
// up libstdc++ linking.
message = "Window created.";
message += " Starting main loop.";

Loading…
Cancel
Save