ncurses: disable C++ bindings for static FreeBSD cross builds (#485688)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user