fix API=x11 build
This commit is contained in:
parent
562f5acd9a
commit
16ecf7fb0a
@ -671,6 +671,10 @@ endif
|
|||||||
COPT += $(shell $(PKG_CONFIG) --cflags x11)
|
COPT += $(shell $(PKG_CONFIG) --cflags x11)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(API),x11)
|
||||||
|
LOPT += $(shell $(PKG_CONFIG) --libs x11)
|
||||||
|
COPT += $(shell $(PKG_CONFIG) --cflags x11)
|
||||||
|
endif
|
||||||
ifeq ($(NO_X11),1)
|
ifeq ($(NO_X11),1)
|
||||||
COPT += -DNO_X11
|
COPT += -DNO_X11
|
||||||
endif
|
endif
|
||||||
@ -771,7 +775,6 @@ endif
|
|||||||
ifeq ($(API),x11)
|
ifeq ($(API),x11)
|
||||||
APIOBJ = x11screen.o
|
APIOBJ = x11screen.o
|
||||||
COPT += -DUSE_X11
|
COPT += -DUSE_X11
|
||||||
LOPT += -lX11
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#To enable Joystick emulation of cursor, make USE_JOYSTICK=1 (for input.o)
|
#To enable Joystick emulation of cursor, make USE_JOYSTICK=1 (for input.o)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user