Commit 38a1f61c authored by Zhong Jianxin's avatar Zhong Jianxin
Browse files

steghide: Fix build on clang 16

parent cebf6fb8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -35,6 +35,11 @@ stdenv.mkDerivation (finalAttrs: {
    cd src
  '';

  # std::binary_function and std::unary_function has been removed in c++17
  makeFlags = lib.optionals stdenv.cc.isClang [
    "CXXFLAGS=-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION"
  ];

  meta = with lib; {
    homepage = "https://github.com/museoa/steghide";
    description = "Open source steganography program";