]> err.no Git - yubikey-personalization.old/commitdiff
Set LDFLAGS properly for Mac OS X. Not clear whether it is the Right Thing.
authorSimon Josefsson <simon@josefsson.org>
Fri, 8 May 2009 07:26:18 +0000 (07:26 +0000)
committerSimon Josefsson <simon@josefsson.org>
Fri, 8 May 2009 07:26:18 +0000 (07:26 +0000)
Patch from Christer.

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