Skip to content
Permalink
Browse files

fix debian rules (followup 28e02f8)

(cherry picked from commit f1e3f82)
  • Loading branch information
jef-n committed Jun 10, 2020
1 parent 38cc13d commit d56e32a784439477b831d935048d1b36fa0885ff
Showing with 2 additions and 2 deletions.
  1. +2 −2 debian/rules
@@ -74,9 +74,9 @@ TESTMAKE=ninja $(NINJA_OPTS)
endif

ifeq (,$(findstring $(DISTRIBUTION),"focal 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
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/usr/lib -l\([^ ]*\) .*$$,\1/lib\2.so,')
endif

CMAKE_OPTS := \

0 comments on commit d56e32a

Please sign in to comment.
You can’t perform that action at this time.