Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-pyginac
pyginac-opensusepaths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyginac-opensusepaths.patch of Package python-pyginac
Index: pyginac-1.5.5/Makefile =================================================================== --- pyginac-1.5.5.orig/Makefile +++ pyginac-1.5.5/Makefile @@ -8,6 +8,13 @@ includedir = $(prefix)/include libdir = $(prefix)/lib/python3/dist-packages datarootdir = $(prefix)/share docdir = $(datarootdir)/doc/python3-pyginac + +PYTHON=python3 +PYTHON_CONFIG = $(shell if $(PYTHON)-config --ldflags --libs --embed >/dev/null 2>&1; then \ +echo $(PYTHON)-config --embed; \ +else \ +echo $(PYTHON)-config ; \ +fi) #====================================================================== ifeq ($(DISTRO_NAME),stretch) BOOST_PYTHON_LIB=boost_python-py35 @@ -15,11 +22,11 @@ else BOOST_PYTHON_LIB=boost_python3 endif -EXT_SUFFIX=$(shell python3-config --extension-suffix) +EXT_SUFFIX=$(shell $(PYTHON_CONFIG) --extension-suffix) -LDLIBS = $(shell python3-config --ldflags) -l$(BOOST_PYTHON_LIB) $(shell pkg-config --libs ginac cln) +LDLIBS = $(shell $(PYTHON_CONFIG) --ldflags) -l$(BOOST_PYTHON_LIB) $(shell pkg-config --libs ginac cln) -CPPFLAGS = $(shell python3-config --cflags) $(shell pkg-config --cflags ginac cln) \ +CPPFLAGS = $(shell $(PYTHON_CONFIG) --cflags) $(shell pkg-config --cflags ginac cln) \ -pipe -g -c -std=gnu++14 --verbose -fdiagnostics-color -I./include \ -Wall -W -Wsign-compare -Wconversion -Wdisabled-optimization -Wno-unused-parameter -pedantic
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