Unverified Commit f84d6f6c authored by Artemis Tosini's avatar Artemis Tosini Committed by GitHub
Browse files

ncurses: disable C++ bindings for static FreeBSD cross builds (#485688)

parents 3c76a90c 13388a66
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -8,7 +8,11 @@
  pkg-config,
  abiVersion ? "6",
  enableStatic ? stdenv.hostPlatform.isStatic,
  withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt,
  # Disabled for static FreeBSD: libc++ headers come after C library headers,
  # breaking C++ compilation. No current consumers need the C++ bindings.
  withCxx ?
    !stdenv.hostPlatform.useAndroidPrebuilt
    && !(stdenv.hostPlatform.isFreeBSD && stdenv.hostPlatform.isStatic),
  mouseSupport ? false,
  gpm,
  withTermlib ? false,