From d478f198233bcda38ca617bb83d5fcb73685b4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Thu, 22 Mar 2012 02:47:27 +0100 Subject: [PATCH] Fix Aseprite and Alex4 compilation with newest version of OpenWrt --- alex4/Makefile | 2 +- ase/Makefile | 2 +- libdumb/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/alex4/Makefile b/alex4/Makefile index 13e3a99..6ae2573 100644 --- a/alex4/Makefile +++ b/alex4/Makefile @@ -55,7 +55,7 @@ endef #TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib #TARGET_CPPFLAGS += -TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -laldmb -ldumb -lalleg +TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -laldmb -ldumb -lalleg -lm diff --git a/ase/Makefile b/ase/Makefile index 64c7fcc..b70dfbe 100644 --- a/ase/Makefile +++ b/ase/Makefile @@ -49,7 +49,7 @@ endef TARGET_CPPFLAGS += -DNDEBUG #TARGET_CPPFLAGS += -DDEBUGMODE -TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -lalleg +TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -lalleg -lm -lpthread define Build/Install $(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{bin,share} diff --git a/libdumb/Makefile b/libdumb/Makefile index 00b3a1f..11f0f2f 100644 --- a/libdumb/Makefile +++ b/libdumb/Makefile @@ -39,7 +39,7 @@ MAKE_FLAGS += \ PREFIX=/usr \ CFLAGS_RELEASE="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS)" \ CFLAGS_DEBUG="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS)" \ - LINK_ALLEGRO="-L$(STAGING_DIR)/usr/lib -lalleg" + LINK_ALLEGRO="-L$(STAGING_DIR)/usr/lib -lalleg -lm" define Build/Configure echo "include make/unix.inc" > $(PKG_BUILD_DIR)/make/config.txt