diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-05 13:36:25 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-05 13:36:25 (GMT) |
commit | d9c9df3b4ae5432552417fc4db74d62ab34f066d (patch) | |
tree | 03dc9336090539dd43da58bff3c99a06f7c86692 /Sluift/SConscript | |
parent | 3adede854422194f5761a40fc6663688ae0d0416 (diff) | |
download | swift-contrib-d9c9df3b4ae5432552417fc4db74d62ab34f066d.zip swift-contrib-d9c9df3b4ae5432552417fc4db74d62ab34f066d.tar.bz2 |
Added windows packaging.
Diffstat (limited to 'Sluift/SConscript')
-rw-r--r-- | Sluift/SConscript | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Sluift/SConscript b/Sluift/SConscript index 19dc1e7..777cf0c 100644 --- a/Sluift/SConscript +++ b/Sluift/SConscript @@ -1,4 +1,4 @@ -import Version +import Version, os.path Import(["env", "conf_env"]) @@ -49,3 +49,10 @@ if env["SCONS_STAGE"] == "build" : myenv.WriteVal("dll.c", myenv.Value("")) myenv.SharedLibrary("sluift", ["dll.c"]) + + if env["PLATFORM"] == "win32" : + myenv.WindowsBundle("Sluift", + resources = {"": [ + os.path.join(env["OPENSSL_DIR"], "bin", "ssleay32.dll"), + os.path.join(env["OPENSSL_DIR"], "bin", "libeay32.dll") + ]}) |