diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-03 22:47:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-03 22:47:39 +0000 |
| commit | 9ccbc0a618133dabc459dba3ac32ec0c83b38e84 (patch) | |
| tree | 59dd4b62c25d414b3eaf54a9887306affb55a0b6 /wscript | |
| parent | fde0bbc7ac702d3dcea97cdd9e8e9cee68096c9a (diff) | |
Make sure that .pc file specifies -DKM_WIN32 on Windows.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -63,13 +63,16 @@ def configure(conf): def build(bld): if bld.env.TARGET_WINDOWS: boost_lib_suffix = '-mt' + cflags = '-DKM_WIN32' else: boost_lib_suffix = '' + cflags = '' bld(source='libasdcp-cth.pc.in', version=VERSION, includedir='%s/include/libasdcp-cth' % bld.env.PREFIX, libs="-L${libdir} -lasdcp-cth -lkumu-cth -lboost_system%s" % boost_lib_suffix, + cflags=cflags, install_path='${LIBDIR}/pkgconfig') bld.recurse('src') |
