~midori/midori/gtk3WebKit2only

« back to all changes in this revision

Viewing changes to katze/wscript_build

  • Committer: Christian Dywan
  • Date: 2008-11-18 01:07:53 UTC
  • Revision ID: git-v1:3cd50f419b55c8ac81d557ddf5764f78bffd75ff
Introduce a C extension interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# WAF build script for midori
3
3
# This file is licensed under the terms of the expat license, see the file EXPAT.
4
4
 
 
5
import platform
 
6
 
5
7
obj = bld.create_obj ('cc', 'staticlib')
6
8
obj.name = 'katze'
7
9
obj.target = 'katze'
8
10
obj.includes = '.'
9
11
obj.find_sources_in_dirs ('.')
10
 
obj.uselib = 'LIBSOUP GTK LIBXML'
 
12
obj.uselib = 'GMODULE LIBSOUP GTK LIBXML'
11
13
obj.inst_var = 0
12
14
 
13
 
# FIXME: Do not install this static lib
 
15
if platform.architecture ()[0] == '64bit':
 
16
    obj.env.append_value ('CCFLAGS', '-fPIC')