mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
html2text: fix build with clang 16
This commit is contained in:
parent
a38b57a3ad
commit
7cbcabc834
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace configure \
|
substituteInPlace configure \
|
||||||
--replace /bin/echo echo \
|
--replace /bin/echo echo \
|
||||||
--replace CXX=unknown ':'
|
--replace CXX=unknown ':'
|
||||||
|
'' + lib.optionalString stdenv.cc.isClang ''
|
||||||
|
substituteInPlace HTMLParser.C \
|
||||||
|
--replace "register " ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# the --prefix has no effect
|
# the --prefix has no effect
|
||||||
|
Loading…
Reference in New Issue
Block a user