Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
debian packaging: fix hirsute python library detection
  • Loading branch information
jef-n committed Apr 13, 2021
1 parent 6641c74 commit 8993604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Expand Up @@ -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 := \
Expand Down

0 comments on commit 8993604

Please sign in to comment.