A few tweaks.

This commit is contained in:
Jussi Pakkanen 2015-03-17 14:09:38 +02:00
parent 47400c70c3
commit bae29b7f7c
2 changed files with 2 additions and 2 deletions

View File

@ -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/

View File

@ -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.";