Fix the fix, qt 4.2 still uses QTDIR/lib to store .pc files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24946 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2008-05-26 17:22:42 +00:00
parent d7c279bd09
commit ddd29a37bc

View File

@ -352,9 +352,9 @@ def enable_modules(self, modules, debug=False) :
self.AppendUnique(LIBPATH=[os.path.join(self["QTDIR"],"lib",module)])
self.AppendUnique(CPPPATH=[os.path.join(self["QTDIR"],"include","qt4",module)])
modules.remove(module)
self.ParseConfig('PKG_CONFIG_PATH=%s/lib/pkgconfig pkg-config %s --libs --cflags'%
self.ParseConfig('PKG_CONFIG_PATH=%s/lib:%s/lib/pkgconfig pkg-config %s --libs --cflags'%
(
self['QTDIR'],
self['QTDIR'], self['QTDIR'],
' '.join(modules)))
return
if sys.platform == "win32" :