A few tweaks.
This commit is contained in:
parent
47400c70c3
commit
bae29b7f7c
|
@ -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…
Reference in New Issue