Haiku: fix build of libbacktrace

This commit is contained in:
Niels Sascha Reedijk 2018-06-24 13:12:18 +02:00
parent 3874676dc6
commit 990b3c8d9d

View File

@ -126,7 +126,8 @@ fn build_libbacktrace(target: &str) -> Result<(), ()> {
if !target.contains("apple-ios") &&
!target.contains("solaris") &&
!target.contains("redox") &&
!target.contains("android") {
!target.contains("android") &&
!target.contains("haiku") {
build.define("HAVE_DL_ITERATE_PHDR", "1");
}
build.define("_GNU_SOURCE", "1");