about summary refs log tree commit diff
path: root/pkgs/development/libraries/libossp-uuid/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libossp-uuid/default.nix')
-rw-r--r--pkgs/development/libraries/libossp-uuid/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libossp-uuid/default.nix b/pkgs/development/libraries/libossp-uuid/default.nix
index a283df1bbaea..267829d2aee4 100644
--- a/pkgs/development/libraries/libossp-uuid/default.nix
+++ b/pkgs/development/libraries/libossp-uuid/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     "ac_cv_va_copy=yes"
-  ] ++ lib.optional stdenv.isFreeBSD "--with-pic";
+  ] ++ lib.optional stdenv.hostPlatform.isFreeBSD "--with-pic";
 
   patches = [ ./shtool.patch ];