From 115ec78f21ef22cac61ded007a385098747062d8 Mon Sep 17 00:00:00 2001 From: Adrian Knoth Date: Thu, 9 Feb 2012 18:59:13 +0100 Subject: [PATCH] wscript: Fix jack.pc.in generator The misc module is no longer available, but we have a subst_pc builder now. Let's use this instead. --- common/wscript | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/wscript b/common/wscript index 544395ff..bda4bd8b 100644 --- a/common/wscript +++ b/common/wscript @@ -322,8 +322,7 @@ def build(bld): bld.install_files('${PREFIX}/include/jack', 'jack/*.h') # process jack.pc.in -> jack.pc - import misc - obj = bld.new_task_gen('subst') + obj = bld.new_task_gen('subst_pc') obj.source = '../jack.pc.in' obj.target = 'jack.pc' obj.dict = {'PREFIX': bld.env['PREFIX'], @@ -333,4 +332,3 @@ def build(bld): 'JACK_VERSION': bld.env['JACK_VERSION'], } obj.install_path = '${LIBDIR}/pkgconfig/' - obj.fun = misc.subst_func