diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -58,6 +58,11 @@ def configure(conf): autowaf.define(conf, 'SORD_VERSION', SORD_VERSION) conf.write_config_header('sord-config.h', remove=False) + conf.env['SORD_CFLAGS'] = '-I%s/sord-%s' % ( + conf.env['INCLUDEDIR'], SORD_MAJOR_VERSION) + conf.env['SORD_LIBS'] = '-L%s -lsord-%s' % ( + conf.env['LIBDIR'], SORD_MAJOR_VERSION) + autowaf.display_msg(conf, "Utilities", bool(conf.env['BUILD_UTILS'])) autowaf.display_msg(conf, "Unit tests", bool(conf.env['BUILD_TESTS'])) autowaf.display_msg(conf, "Debug dumping", dump) @@ -70,7 +75,7 @@ def build(bld): bld.install_files(includedir, bld.path.ant_glob('sord/*.hpp')) # Pkgconfig file - autowaf.build_pc(bld, 'SORD', SORD_VERSION, SORD_MAJOR_VERSION, [], + autowaf.build_pc(bld, 'SORD', SORD_VERSION, SORD_MAJOR_VERSION, 'SERD', {'SORD_MAJOR_VERSION' : SORD_MAJOR_VERSION}) # Library |