mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 07:16:36 +00:00
stb_image / Python 3.x bindings not C89-compatible
This commit is contained in:
parent
263323248b
commit
4fb3a7f1b7
@ -196,10 +196,13 @@ OBJ += frontend/frontend.o \
|
||||
|
||||
OBJ += gfx/image/image.o
|
||||
|
||||
ifneq ($(C89_BUILD), 1)
|
||||
# stb_image is not a C89-compliant API.
|
||||
ifeq ($(HAVE_IMAGEVIEWER), 1)
|
||||
DEFINES += -DHAVE_IMAGEVIEWER
|
||||
OBJ += cores/image_core.o
|
||||
endif
|
||||
endif
|
||||
|
||||
# Qt
|
||||
|
||||
@ -227,11 +230,14 @@ ifeq ($(HAVE_STDIN_CMD), 1)
|
||||
DEFINES += -DHAVE_COMMAND -DHAVE_STDIN_CMD
|
||||
endif
|
||||
|
||||
ifneq ($(C89_BUILD), 1)
|
||||
# Python 3.x bindings are not C89-compliant.
|
||||
ifeq ($(HAVE_PYTHON), 1)
|
||||
DEFINES += $(PYTHON_CFLAGS) -Wno-unused-parameter
|
||||
LIBS += $(PYTHON_LIBS)
|
||||
OBJ += gfx/video_state_python.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OSX), 1)
|
||||
DEFINES += -Wno-invalid-source-encoding
|
||||
|
Loading…
Reference in New Issue
Block a user