usrsctp: fix paths in pkg-config file
This commit is contained in:
parent
1024921198
commit
7baca962de
|
@ -13,6 +13,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# https://github.com/sctplab/usrsctp/issues/662
|
||||
postPatch = ''
|
||||
substituteInPlace usrsctplib/CMakeLists.txt \
|
||||
--replace '$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
|
||||
--replace '$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sctplab/usrsctp";
|
||||
description = "A portable SCTP userland stack";
|
||||
|
|
Loading…
Reference in a new issue