Skip to content
Permalink
Browse files
debian packaging: fix hirsute python library detection
  • Loading branch information
jef-n committed Apr 13, 2021
1 parent 6641c74 commit 8993604126fc04de8f3d451b7a4cde989ef39c24
Showing with 1 addition and 1 deletion.
  1. +1 −1 debian/rules
@@ -76,7 +76,7 @@ endif
ifeq (,$(findstring $(DISTRIBUTION),"hirsute focal sid"))
PYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's,-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$,\1/lib\2.so,')
else
PYTHON_LIBRARY=$(shell python3-config --ldflags --embed | sed -e 's,-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$,\1/lib\2.so,')
PYTHON_LIBRARY=$(shell python3-config --ldflags --embed | sed -e 's,-L\(.*\) -L[^ ]* -l\([^ ]*\) .*$$,\1/lib\2.so,')
endif

CMAKE_OPTS := \

0 comments on commit 8993604

Please sign in to comment.