Permalink
Browse files

libffi: set HOST on darwin

  • Loading branch information...
1 parent d46e850 commit a016d45ab5bb4e3685cb024aab367c93866234b5 @mpapis mpapis committed Nov 24, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 libffi/shell/functions
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+libffi_preconfigure()
+{
+ if __sm.os.type.is darwin
+ then
+ export HOST
+ HOST="$( ./config.guess )"
+ fi
+}

0 comments on commit a016d45

Please sign in to comment.