diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2005-01-20 11:43:24 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2005-01-20 11:43:24 +0000 |
commit | 47a2599c0ae36579a3a33776c6e278f3d58ffe77 (patch) | |
tree | e07d018fdad22d75bbc842c5086d0ee24adac251 | |
parent | 53d5d8871802e065ce3c4a682c104ac37cfafded (diff) |
#i10000# fix pkgconfig call
-rw-r--r-- | scp2/source/ooo/makefile.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scp2/source/ooo/makefile.mk b/scp2/source/ooo/makefile.mk index 5fed7a0b0dca..0b2f0e211017 100644 --- a/scp2/source/ooo/makefile.mk +++ b/scp2/source/ooo/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.16 $ +# $Revision: 1.17 $ # -# last change: $Author: kz $ $Date: 2005-01-18 14:37:44 $ +# last change: $Author: hjs $ $Date: 2005-01-20 12:43:24 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -84,7 +84,9 @@ SCPDEFS+=-DINCLUDE_JAVA_ACCESSBRIDGE .IF "$(ENABLE_GTK)" != "" SCPDEFS+=-DENABLE_GTK -GTK_TWO_FOUR=$(shell +-pkg-config --exists 'gtk+-2.0 >= 2.4.0' && echo YES) +PKGCONFIG_MODULES=gtk+-2.0 +.INCLUDE: pkg_config.mk +GTK_TWO_FOUR=$(shell +-$(PKGCONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES) .IF "$(GTK_TWO_FOUR)" != "" SCPDEFS+=-DGTK_TWO_FOUR .ENDIF |