Skip to content
Permalink
Browse files
debian packaging: fix hirsute python library detection
  • Loading branch information
jef-n committed Apr 13, 2021
1 parent f4bbede commit bfa38f29d28b732337f2b5750c6ce9a262eda462
Showing with 1 addition and 1 deletion.
  1. +1 −1 debian/rules
@@ -76,7 +76,7 @@ endif
ifeq (,$(findstring $(DISTRIBUTION),"focal groovy hirsute 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 bfa38f2

Please sign in to comment.