mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
extend workaround lablgtk fix to all 2.18 versions (#2264)
This commit is contained in:
committed by
Gautier Hattenberger
parent
f3f70cb13d
commit
801a979011
@@ -51,7 +51,7 @@ endif
|
|||||||
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822949 and https://bugs.launchpad.net/ubuntu/+source/lablgtk2/+bug/1577236
|
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822949 and https://bugs.launchpad.net/ubuntu/+source/lablgtk2/+bug/1577236
|
||||||
# Ubuntu 16.04: 2.18.3+dfsg-1 Ubuntu 16.10: 2.18.3+dfsg-2
|
# Ubuntu 16.04: 2.18.3+dfsg-1 Ubuntu 16.10: 2.18.3+dfsg-2
|
||||||
LABLGTK2_DEB := $(shell LC_ALL=C apt-cache policy liblablgtk2-ocaml | grep Installed | awk '{print $$2}' 2>/dev/null)
|
LABLGTK2_DEB := $(shell LC_ALL=C apt-cache policy liblablgtk2-ocaml | grep Installed | awk '{print $$2}' 2>/dev/null)
|
||||||
ifneq (,$(findstring 2.18.3+dfsg, $(LABLGTK2_DEB)))
|
ifneq (,$(findstring 2.18, $(LABLGTK2_DEB)))
|
||||||
CAMLP4_DEFS = -DGDK_NATIVE_WINDOW
|
CAMLP4_DEFS = -DGDK_NATIVE_WINDOW
|
||||||
endif
|
endif
|
||||||
CAMLP4_DEFS ?=
|
CAMLP4_DEFS ?=
|
||||||
|
|||||||
Reference in New Issue
Block a user