mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
ruby: provide correct qsort configuration on FreeBSD cross
I believe that BSD qsort is a macro and GNU qsort is a function, which affects how you can use them.
This commit is contained in:
parent
2542605888
commit
62b6c7f71b
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ let
|
|||
"--with-out-ext=tk"
|
||||
# on yosemite, "generating encdb.h" will hang for a very long time without this flag
|
||||
"--with-setjmp-type=setjmp"
|
||||
] ++ ops stdenv.hostPlatform.isFreeBSD [
|
||||
"rb_cv_gnu_qsort_r=no"
|
||||
"rb_cv_bsd_qsort_r=yes"
|
||||
];
|
||||
|
||||
preConfigure = opString docSupport ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue