Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:python
python-pyexiv2
pyexiv2-packager.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyexiv2-packager.patch of Package python-pyexiv2
diff -Nru pyexiv2.multilib/src/SConscript pyexiv2/src/SConscript --- pyexiv2.multilib/src/SConscript 2008-07-17 21:39:05.000000000 +0200 +++ pyexiv2/src/SConscript 2008-07-17 21:43:07.000000000 +0200 @@ -5,8 +5,22 @@ import os.path from distutils.sysconfig import get_python_lib +import os +import SCons.Util + env = Environment() +if os.environ.has_key('CC'): + env['CC'] = os.environ['CC'] +if os.environ.has_key('CFLAGS'): + env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) +if os.environ.has_key('CXX'): + env['CXX'] = os.environ['CXX'] +if os.environ.has_key('CXXFLAGS'): + env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) +if os.environ.has_key('LDFLAGS'): + env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) + # Include directories to look for 'Python.h' in python_inc_path = os.path.join(sys.prefix, 'include', 'python' + sys.version[:3]) env.Append(CPPPATH=[python_inc_path])
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