midori/katze/wscript_build

17 lines
442 B
Text
Raw Normal View History

2008-05-31 09:55:54 +00:00
#! /usr/bin/env python
# WAF build script for midori
# This file is licensed under the terms of the expat license, see the file EXPAT.
2008-05-31 09:55:54 +00:00
2008-11-18 01:07:53 +00:00
import platform
obj = bld.new_task_gen ('cc', 'staticlib')
2008-05-31 09:55:54 +00:00
obj.name = 'katze'
obj.target = 'katze'
obj.includes = '.'
obj.find_sources_in_dirs ('.')
2008-11-18 01:07:53 +00:00
obj.uselib = 'GMODULE LIBSOUP GTK LIBXML'
obj.install_path = None
2008-05-31 09:55:54 +00:00
2008-11-18 01:07:53 +00:00
if platform.architecture ()[0] == '64bit':
obj.env.append_value ('CCFLAGS', '-fPIC')