mirror of
https://github.com/libretro/mgba.git
synced 2025-02-08 08:46:57 +00:00
Removing -DHAVE_LOCALE for Haiku allows build
This commit is contained in:
parent
be5b4b11a9
commit
356a58a95e
@ -81,7 +81,13 @@ ifneq (,$(findstring unix,$(platform)))
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,-version-script=link.T
|
||||
DEFINES += -std=c99 -D_GNU_SOURCE -DHAVE_LOCALE
|
||||
|
||||
ifneq ($(findstring Haiku,$(shell uname -s)),)
|
||||
# Haiku does not handle locales like Linux
|
||||
DEFINES += -std=c99 -D_GNU_SOURCE
|
||||
else
|
||||
DEFINES += -std=c99 -D_GNU_SOURCE -DHAVE_LOCALE
|
||||
endif
|
||||
|
||||
# Raspberry Pi 3
|
||||
ifneq (,$(findstring rpi3,$(platform)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user