Browse Source

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.
tags/1.9.9.5
Adrian Knoth 13 years ago
parent
commit
115ec78f21
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      common/wscript

+ 1
- 3
common/wscript View File

@@ -322,8 +322,7 @@ def build(bld):
bld.install_files('${PREFIX}/include/jack', 'jack/*.h') bld.install_files('${PREFIX}/include/jack', 'jack/*.h')


# process jack.pc.in -> jack.pc # 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.source = '../jack.pc.in'
obj.target = 'jack.pc' obj.target = 'jack.pc'
obj.dict = {'PREFIX': bld.env['PREFIX'], obj.dict = {'PREFIX': bld.env['PREFIX'],
@@ -333,4 +332,3 @@ def build(bld):
'JACK_VERSION': bld.env['JACK_VERSION'], 'JACK_VERSION': bld.env['JACK_VERSION'],
} }
obj.install_path = '${LIBDIR}/pkgconfig/' obj.install_path = '${LIBDIR}/pkgconfig/'
obj.fun = misc.subst_func

Loading…
Cancel
Save