diff src/default-octave.mk @ 3827:02990526ae69

allow building of X11 libs to be disabled
author John W. Eaton <jwe@octave.org>
date Wed, 04 Mar 2015 09:27:23 -0500
parents c6dd0518f31b
children 1d83829da885
line wrap: on
line diff
--- a/src/default-octave.mk	Tue Mar 03 14:03:53 2015 -0500
+++ b/src/default-octave.mk	Wed Mar 04 09:27:23 2015 -0500
@@ -16,7 +16,9 @@
 endif
 $(PKG)_DEPS     := blas arpack curl epstool fftw fltk $($(PKG)_FONTCONFIG) ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 lapack libsndfile osmesa pcre portaudio pstoedit qrupdate qscintilla qt readline suitesparse texinfo zlib
 ifeq ($(MXE_WINDOWS_BUILD),no)
-  $(PKG)_DEPS += x11 xext
+  ifeq ($(USE_SYSTEM_X11_LIBS),no)
+    $(PKG)_DEPS += x11 xext
+  endif
 endif
 ifeq ($(ENABLE_64),no)
   $(PKG)_DEPS += qhull