qwt6_qt4: preFixup: Repair relative reference in darwin framework output
This commit is contained in:
parent
f90ddc99f6
commit
97c5cf0bf2
@ -18,6 +18,13 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri
|
sed -e "s|QWT_INSTALL_PREFIX.*=.*|QWT_INSTALL_PREFIX = $out|g" -i qwtconfig.pri
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# qwt.framework output includes a relative reference to itself, which breaks dependents
|
||||||
|
preFixup =
|
||||||
|
stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
echo "Attempting to repair qwt"
|
||||||
|
install_name_tool -id "$out/lib/qwt.framework/Versions/6/qwt" "$out/lib/qwt.framework/Versions/6/qwt"
|
||||||
|
'';
|
||||||
|
|
||||||
qmakeFlags = [ "-after doc.path=$out/share/doc/${name}" ];
|
qmakeFlags = [ "-after doc.path=$out/share/doc/${name}" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user