fix OS-X build
[deb_libcec.git] / configure.ac
index 3098d003fcf7889fa6758095f2a07c8f61a841c0..9e72964e584a7edb089d93b8bd7262ed23635b6e 100644 (file)
@@ -21,6 +21,7 @@ case "${host}" in
     LIBS+=" -lrt"
     ;;
   *-apple-darwin*)
+    LIBS+="-framework CoreVideo -framework IOKit"
     ;;
   *-freebsd*)
     ;;
@@ -42,7 +43,6 @@ case "${host}" in
     ;;
   *-apple-darwin*)
     has_libudev="no";
-    LIBS+="-framework CoreVideo -framework IOKit"
     ;;
   *-freebsd*)
     has_libudev="no"