X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=3f7da8776d992691f3f6e94918427ceaf6d4fc6d;hb=6e72e1d36f23a4236c4677f22792a6a4590943a3;hp=9ac3443979197c30f8bc5d5cecf5c5d6efaa61c2;hpb=cc8c14b765038405e75d7436cf0da3d56b61063b;p=libdcp.git diff --git a/wscript b/wscript index 9ac34439..3f7da877 100644 --- a/wscript +++ b/wscript @@ -27,7 +27,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DLIBDCP_POSIX') if not conf.options.osx: - conf.env.append_value('CXXFLAGS', ['-Wno-unused-result']) + conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter']) conf.check_cfg(package = 'openssl', args = '--cflags --libs', uselib_store = 'OPENSSL', mandatory = True) conf.check_cfg(package = 'libxml++-2.6', args = '--cflags --libs', uselib_store = 'LIBXML++', mandatory = True) @@ -115,7 +115,7 @@ def build(bld): bld(source = 'libdcp.pc.in', version = VERSION, includedir = '%s/include' % bld.env.PREFIX, - libs = "-L${libdir} -ldcp -lasdcp-libdcp -lkumu-libdcp -lboost_system%s" % boost_lib_suffix, + libs = "-L${libdir} -ldcp -lasdcp-libdcp -lkumu-libdcp -lcxml -lboost_system%s" % boost_lib_suffix, install_path = '${LIBDIR}/pkgconfig') bld.recurse('src')