libqtxdg: fix pkgconfig files
Without this change pkgconfig files contain incorrect values for libdir and includedir in the form of: prefix: /nix/store/...liblibqtxdg libdir: ${prefix}//nix/store/.../libqtxdg/lib includedir: ${prefix}//nix/store/.../libqtxdg/include
This commit is contained in:
parent
0c95dee8cb
commit
a1fec88085
@ -16,7 +16,11 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ qt5.qtbase qt5.qtsvg ];
|
buildInputs = [ qt5.qtbase qt5.qtsvg ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cmakeFlags+=" -DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix"
|
cmakeFlagsArray+=(
|
||||||
|
"-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=$out/$qtPluginPrefix"
|
||||||
|
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user