Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-imaging
Imaging-1.1.7-64bit.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Imaging-1.1.7-64bit.patch of Package python-imaging
Index: setup.py =================================================================== --- setup.py.orig +++ setup.py @@ -15,7 +15,7 @@ except OSError: def libinclude(root): # map root to (root/lib, root/include) - return os.path.join(root, "lib"), os.path.join(root, "include") + return os.path.join(root, sys.lib), os.path.join(root, "include") # -------------------------------------------------------------------- # Library pointers. @@ -147,12 +147,12 @@ class pil_build_ext(build_ext): add_directory(library_dirs, "/opt/local/lib") add_directory(include_dirs, "/opt/local/include") - add_directory(library_dirs, "/usr/local/lib") + add_directory(library_dirs, os.path.join("/usr/local",sys.lib)) # FIXME: check /opt/stuff directories here? prefix = sysconfig.get_config_var("prefix") if prefix: - add_directory(library_dirs, os.path.join(prefix, "lib")) + add_directory(library_dirs, os.path.join(prefix, sys.lib)) add_directory(include_dirs, os.path.join(prefix, "include")) # @@ -208,10 +208,10 @@ class pil_build_ext(build_ext): add_directory(include_dirs, tcl_dir) # standard locations - add_directory(library_dirs, "/usr/local/lib") + add_directory(library_dirs, os.path.join("/usr/local",sys.lib)) add_directory(include_dirs, "/usr/local/include") - add_directory(library_dirs, "/usr/lib") + add_directory(library_dirs, os.path.join("/usr",sys.lib)) add_directory(include_dirs, "/usr/include") #
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor