mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-12-24 22:33:00 +02:00
Fix Aseprite and Alex4 compilation with newest version of OpenWrt
This commit is contained in:
parent
f5c5a97a5c
commit
d478f19823
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user