Merge pull request #260097 from Et7f3/fix_calc_darwin

calc: fix substituteInPlace call
This commit is contained in:
Weijia Wang 2023-10-24 07:52:31 +02:00 committed by GitHub
commit a6e3ae5ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
};
postPatch = ''
substituteInPlace Makefile \
substituteInPlace Makefile.target \
--replace '-install_name ''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' \
--replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}'
'';