1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Put corefoundation and iokit separate in ldflags for darwin.

This commit is contained in:
Con Kolivas 2013-09-13 17:12:01 +10:00
parent 1672238bee
commit 203028b068

View File

@ -331,7 +331,7 @@ if test "x$want_usbutils" != xfalse; then
fi fi
if test "x$have_darwin" = "xtrue"; then if test "x$have_darwin" = "xtrue"; then
LIBUSB_LIBS+=" -lobjc" LIBUSB_LIBS+=" -lobjc"
LDFLAGS+=" -framework CoreFoundation,IOKit" LDFLAGS+=" -framework CoreFoundation -framework IOKit"
fi fi
else else
LIBUSB_LIBS="" LIBUSB_LIBS=""