diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-05-04 08:35:55 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-05-04 08:35:55 +0000 |
commit | dcc734b3fe3ef10f5cc7069f2c5ff726ef7a6129 (patch) | |
tree | 00bd77662369247820f19db97c62664f066fd0af /cpp/newmakebindist.py | |
parent | file config was initially added on branch R2_1_branch. (diff) | |
download | ice-dcc734b3fe3ef10f5cc7069f2c5ff726ef7a6129.tar.bz2 ice-dcc734b3fe3ef10f5cc7069f2c5ff726ef7a6129.tar.xz ice-dcc734b3fe3ef10f5cc7069f2c5ff726ef7a6129.zip |
Fix
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-x | cpp/newmakebindist.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py index 91458b87a99..dada7bb6396 100755 --- a/cpp/newmakebindist.py +++ b/cpp/newmakebindist.py @@ -695,9 +695,14 @@ def makePHPbinary(sources, buildDir, installDir, version, clean): os.system('gmake') - moduleName = '%s/modules/ice%s' % (phpDir, getPlatformLibExtension()) - shutil.copy(moduleName, '%s/Ice-%s/lib/icephp%s' % (installDir, version, getPlatformLibExtension())) - + if platform == 'macosx': + phpModuleExtension = ".so" + else: + phpModuleExtension = getPlatformLibExtension() + + moduleName = '%s/modules/ice%s' % (phpDir, phpModuleExtension) + shutil.copy(moduleName, '%s/Ice-%s/lib/icephp%s' % (installDir, version, phpModuleExtension)) + os.chdir(cwd) def usage(): |