From 94a5db8d146da8ea87266d34a5d4c1f9ba0bb715 Mon Sep 17 00:00:00 2001
From: valerio <valerio@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Thu, 1 Jul 2010 11:50:50 +0000
Subject: [PATCH] Even more updates to create_bundle

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2489 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 deployment/linux/create_bundle.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/deployment/linux/create_bundle.py b/deployment/linux/create_bundle.py
index e295a6877..f8695d61f 100644
--- a/deployment/linux/create_bundle.py
+++ b/deployment/linux/create_bundle.py
@@ -9,7 +9,7 @@ import sys
 
 boost_string='\".so.1.40.0\"'
 system_python_bin='/usr/bin/python2.6'
-name_python_bin='python2.6'
+name_python_bin='python'
 system_python_libs='/usr/lib/python2.6'
 second_system_python_libs_flag=True
 second_system_python_libs='/usr/lib/pymodules/python2.6'
@@ -127,6 +127,9 @@ subprocess.call('chmod -w '+directory_name+'/dng',shell=True,cwd='../../')
 subprocess.call('echo "bin/ost" > '+directory_name+'/ost',shell=True,cwd='../../')
 subprocess.call('chmod +x '+directory_name+'/ost',shell=True,cwd='../../')
 subprocess.call('chmod -w '+directory_name+'/ost',shell=True,cwd='../../')
+print 'Copying additional libraries in the package directory structure'
+subprocess.call('cp /usr/lib/libssl.so.0.9.8   '+directory_name+'/'+libdir,shell=True,cwd='../../')
+subprocess.call('cp /usr/lib/libcrypto.so.0.9.8   '+directory_name+'/'+libdir,shell=True,cwd='../../')
 print 'Removing headers from package directory structure'
 subprocess.call('rm -fr   '+directory_name+'/include',shell=True,cwd='../../')
 print 'De-hardcoding package python binary path from openstructure executables'
-- 
GitLab