openobex: fix paths in pkg-config file
This commit is contained in:
parent
52938dde0d
commit
5b12efa3f2
@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
||||
patchPhase = ''
|
||||
sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
|
||||
sed -i "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d" udev/CMakeLists.txt
|
||||
# https://sourceforge.net/p/openobex/bugs/66/
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
|
||||
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user