Merge pull request #241683 from OPNA2608/fix/click_pkgconfig_requires
ubports-click: Propagate required pkg-config packages properly
This commit is contained in:
commit
ff6e67d2c2
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ buildPythonApplication {
|
|||
sha256 = "sha256-pNu995/w3tbz15QQVdVYBnWnAoZmqWj1DN/5PZZ0iZw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# These should be proper Requires, using the header needs their headers
|
||||
substituteInPlace lib/click/click-*.pc.in \
|
||||
--replace 'Requires.private' 'Requires'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
|
||||
"--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
||||
|
|
Loading…
Reference in a new issue