mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-08 00:06:51 -05:00
debian packaging: fix hirsute python library detection
This commit is contained in:
parent
48caf7178a
commit
9cf1edfb1d
2
debian/rules
vendored
2
debian/rules
vendored
@ -76,7 +76,7 @@ endif
|
|||||||
ifeq (,$(findstring $(DISTRIBUTION),"focal groovy hirsute sid"))
|
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,')
|
PYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's,-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$,\1/lib\2.so,')
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
CMAKE_OPTS := \
|
CMAKE_OPTS := \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user