From 50bc4683b91a050b81652ddee20d54518101c857 Mon Sep 17 00:00:00 2001 From: tic Date: Tue, 6 Feb 2018 14:44:33 +0300 Subject: [PATCH] sdl static link fix --- 3rd-party | 2 +- Makefile | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/3rd-party b/3rd-party index 3b006e5..88f283d 160000 --- a/3rd-party +++ b/3rd-party @@ -1 +1 @@ -Subproject commit 3b006e55145147d2347335215b8bac2f764b9b4f +Subproject commit 88f283ddb4ea909ab88ac2682ea84bdff1e72332 diff --git a/Makefile b/Makefile index 18dcc53..4695cf0 100644 --- a/Makefile +++ b/Makefile @@ -49,11 +49,11 @@ LINUX_LIBS= \ `sdl2-config --static-libs` LINUX64_LIBS= \ - $(LINUX_LIBS) \ + $(GTK_LIBS) \ -L$(PRE_BUILT)/linux64 LINUX32_LIBS= \ - $(LINUX_LIBS) \ + $(GTK_LIBS) \ -L$(PRE_BUILT)/linux32 LINUX_ARM_LIBS= \ @@ -69,7 +69,8 @@ LINUX_LINKER_LTO_FLAGS= \ -lm \ -lpthread \ -lrt \ - -lz + -lz \ + -lsndio LINUX_LINKER_FLAGS= \ -D_GNU_SOURCE \