Skip to content
Permalink
Browse files

debian packaging: update libpython detection also on sid (followup 49…

…87a56)

(cherry picked from commit 722dd8a)
  • Loading branch information
jef-n committed Mar 8, 2020
1 parent 716349a commit 117da6e0f4a85655108fd961648cf7504a2f6abd
Showing with 2 additions and 2 deletions.
  1. +2 −2 debian/rules
@@ -73,10 +73,10 @@ else
TESTMAKE=ninja $(NINJA_OPTS)
endif

ifeq (,$(findstring $(DISTRIBUTION),"focal"))
ifeq (,$(findstring $(DISTRIBUTION),"focal sid"))
PYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's\#-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$\#\1/lib\2.so\#')
else
PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.8.so
PYTHON_LIBRARY=$(shell python3-config --ldflags --embed | sed -e 's\#-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$\#\1/lib\2.so\#')
endif

CMAKE_OPTS := \

0 comments on commit 117da6e

Please sign in to comment.
You can’t perform that action at this time.