another regression caused by find_program changes

This commit is contained in:
Thomas Nagy 2013-10-23 00:10:28 +02:00
parent 50737b138a
commit 84c9aa9a04
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def configure(self):
bld.program(source='main.c', target='app', use='KDECORE KIO KHTML')
"""
kdeconfig = self.find_program('kde4-config')
prefix = self.cmd_and_log('%s --prefix' % kdeconfig).strip()
prefix = self.cmd_and_log(kdeconfig + ['--prefix']).strip()
fname = '%s/share/apps/cmake/modules/KDELibsDependencies.cmake' % prefix
try: os.stat(fname)
except OSError: