Skip to content
Snippets Groups Projects
Commit fb6704f3 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Hugo Beauzée-Luyssen
Browse files

macosx: disable --with-x on default configuration

When building Qt, we only add and link the X11 library and flags when
QT5_HAS_X11 is defined (in automake), which happens when we build
Qt5X11Extras.

Without this check, if autotools find the X11 library, then it might
fail to find the headers (because X_CFLAGS won't be used) or will at
least fail to link correct (because -lX11 will be missing from the
link command).

Since we don't use X11 on MacOSX, disable it by default in the configure
script like Qt, so that enabling Qt module locally works correctly.
parent 10abb2ff
No related branches found
No related tags found
Loading
Pipeline #223243 passed with stage
in 16 minutes and 47 seconds
......@@ -25,6 +25,7 @@ OPTIONS="
--disable-pulse
--disable-vnc
--with-macosx-version-min=10.11
--without-x
"
export CFLAGS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment