From: vsr Date: Tue, 4 Jul 2006 13:15:53 +0000 (+0000) Subject: conditional make: avoid linking against python libraries if Python console is disabled X-Git-Tag: T3_2_1_pre~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09e7225ffe6f339d8923c3631582c78a7f51037e;p=modules%2Fgui.git conditional make: avoid linking against python libraries if Python console is disabled --- diff --git a/src/SUITApp/Makefile.in b/src/SUITApp/Makefile.in index 1265308b4..17601209e 100644 --- a/src/SUITApp/Makefile.in +++ b/src/SUITApp/Makefile.in @@ -51,7 +51,9 @@ CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) LDFLAGS+=$(QT_MT_LIBS) +ifneq ($(DISABLE_PYCONSOLE),yes) LIBS+= -Xlinker -export-dynamic $(PYTHON_LIBS) +endif LIBS+= -lsuit -lqtx LIBSFORBIN+= -lsuit -lqtx