aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-08-30 23:00:19 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-08-30 23:00:19 +0300
commit29174b669faf684e789e3fe817787e48a7621dd3 (patch)
tree2b3da59b74110788452213f3ec27ad0209a43d2c /interpreter.py
parent52ed7fd8f84b052604b6a8e404d8d990a9d277ed (diff)
downloadmeson-29174b669faf684e789e3fe817787e48a7621dd3.zip
meson-29174b669faf684e789e3fe817787e48a7621dd3.tar.gz
meson-29174b669faf684e789e3fe817787e48a7621dd3.tar.bz2
Make native build work again.
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/interpreter.py b/interpreter.py
index 13c035f..e0adca3 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -592,17 +592,17 @@ class Executable(BuildTarget):
self.filename = self.name
class StaticLibrary(BuildTarget):
- def __init__(self, name, subdir, sources, environment, kwargs):
- BuildTarget.__init__(self, name, subdir, sources, kwargs)
+ def __init__(self, name, subdir, is_cross, sources, environment, kwargs):
+ BuildTarget.__init__(self, name, subdir, is_cross, sources, kwargs)
prefix = environment.get_static_lib_prefix()
suffix = environment.get_static_lib_suffix()
self.filename = prefix + self.name + '.' + suffix
class SharedLibrary(BuildTarget):
- def __init__(self, name, subdir, sources, environment, kwargs):
+ def __init__(self, name, subdir, is_cross, sources, environment, kwargs):
self.version = None
self.soversion = None
- BuildTarget.__init__(self, name, subdir, sources, kwargs)
+ BuildTarget.__init__(self, name, subdir, is_cross, sources, kwargs)
self.prefix = environment.get_shared_lib_prefix()
self.suffix = environment.get_shared_lib_suffix()