]> err.no Git - yubikey-personalization.old/commitdiff
Set LDFLAGS properly for Mac OS X. Not clear whether it is the Right Thing.
authorsimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Fri, 8 May 2009 07:26:18 +0000 (07:26 +0000)
committersimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Fri, 8 May 2009 07:26:18 +0000 (07:26 +0000)
Patch from Christer.

git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@87 b62f149e-849f-11dd-9899-c7ba65f7c4c7

configure.ac

index cb65e929608e7f31ed5afd65f4a688a0814a63cc..29651dc3972cbe7632c246d6b82992736a151028 100644 (file)
@@ -80,6 +80,10 @@ if test x$with_backend = xlibusb; then
   fi
 fi
 
+if test x$with_backend = xosx; then
+  LDFLAGS="$LDFLAGS -framework IOKit -framework CoreFoundation"
+fi
+
 AC_CONFIG_FILES([
   Makefile
   ykcore/Makefile