1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 04:24:19 +00:00

updated configure.ac for some versions of AMD APP SDK

This commit is contained in:
nonlin-lin-chaos-order-etc-etal 2021-10-28 21:48:30 +08:00
parent 697ddd5300
commit 20affc3e7d

View File

@ -126,7 +126,7 @@ if test "x$have_win32" != xtrue; then
if test "x$AMDAPPSDKROOT" != x; then
OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS"
OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
AC_CHECK_FILE([$AMDAPPSDKROOT/lib/$ARCH_DIR/sdk/libOpenCL.so], [OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR -L$AMDAPPSDKROOT/lib/$ARCH_DIR/sdk/ $OPENCL_LIBS"], [OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"])
fi
fi