Skip to content

Commit

Permalink
Refs #4333. Fix for mac library endings
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Jan 9, 2012
1 parent 1cca624 commit 124ed82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from mantid.kernel import dlopen as _dlopen
import os as _os
clib = _os.path.join(_os.path.dirname(__file__), '_api.so')
flags = _dlopen.setup_dlopen(clib, ['libMantidKernel.so', 'libMantidGeometry.so', 'libMantidAPI.so']) # Ensure the library is open with the correct flags
flags = _dlopen.setup_dlopen(clib, ['libMantidKernel', 'libMantidGeometry', 'libMantidAPI']) # Ensure the library is open with the correct flags
from mantid.kernel import _kernel
from _api import *
_dlopen.restore_flags(flags)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
from mantid.kernel import dlopen as _dlopen
import os as _os
clib = _os.path.join(_os.path.dirname(__file__), '_geometry.so')
flags = _dlopen.setup_dlopen(clib, ['libMantidKernel.so', 'libMantidGeometry.so']) # Ensure the library is open with the correct flags
flags = _dlopen.setup_dlopen(clib, ['libMantidKernel', 'libMantidGeometry']) # Ensure the library is open with the correct flags
from _geometry import *
_dlopen.restore_flags(flags)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import dlopen as _dlopen
import os as _os
clib = _os.path.join(_os.path.dirname(__file__), '_kernel.so')
flags = _dlopen.setup_dlopen(clib, ['libMantidKernel.so']) # Ensure the library is open with the correct flags
flags = _dlopen.setup_dlopen(clib, ['libMantidKernel']) # Ensure the library is open with the correct flags
from _kernel import *
dlopen.restore_flags(flags)

Expand Down

0 comments on commit 124ed82

Please sign in to comment.