Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:maw:ha
python-activemq
pyactivemq-use-pkgconfig.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyactivemq-use-pkgconfig.patch of Package python-activemq
diff --git a/setup.py b/setup.py index 8cd01ce..5ccb78a 100644 --- a/setup.py +++ b/setup.py @@ -66,21 +66,16 @@ if get_platform().startswith('win'): ('PYACTIVEMQ_ENABLE_DOCSTRINGS', 0) ] else: - include_dirs = [ - '/opt/activemq-cpp-2.2.1/include/activemq-cpp-2.2.1' - ] + import commands + include_dirs = [x.lstrip('-I') for x in commands.getoutput("pkg-config --cflags activemq-cpp").split()] libraries = [ 'activemq-cpp', 'uuid', 'boost_python' ] - library_dirs = [ - '/opt/activemq-cpp-2.2.1/lib' - ] + library_dirs = [] extra_compile_args = [] - extra_link_args = [ - '-Wl,-rpath,/opt/activemq-cpp-2.2.1/lib' - ] + extra_link_args = [] define_macros = [ ('BOOST_PYTHON_NO_PY_SIGNATURES', 1), ('PYACTIVEMQ_ENABLE_DOCSTRINGS', 0)
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