summaryrefslogtreecommitdiff
path: root/forstio/core/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'forstio/core/SConscript')
-rw-r--r--forstio/core/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/forstio/core/SConscript b/forstio/core/SConscript
index 184eed1..9bbc8dc 100644
--- a/forstio/core/SConscript
+++ b/forstio/core/SConscript
@@ -20,17 +20,18 @@ env.headers += core_env.headers;
## Shared lib
objects_shared = []
-core_env.add_source_files(objects_shared, env.core_sources, shared=True);
+core_env.add_source_files(objects_shared, core_env.sources, shared=True);
core_env.library_shared = core_env.SharedLibrary('#build/forstio-core', [objects_shared]);
## Static lib
objects_static = []
-core_env.add_source_files(objects_static, env.core_sources, shared=False);
+core_env.add_source_files(objects_static, core_env.sources, shared=False);
core_env.library_static = core_env.StaticLibrary('#build/forstio-core', [objects_static]);
# Set Alias
env.Alias('library_core', [core_env.library_shared, core_env.library_static]);
-env.Alias('library', ['library_core']);
+
+env.targets += ['library_core'];
# Install
env.Install('$prefix/lib/', [core_env.library_shared, core_env.library_static]);