Skip to content
Permalink
Browse files
debian packaging: fix hirsute python library detection
  • Loading branch information
jef-n committed Apr 13, 2021
1 parent 48caf71 commit 9cf1edfb1d9734c32bef3f29a4865bf750f01bab
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 9cf1edf

Please sign in to comment.