mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Properly substitute DLOPEN flags to build with ADL support when -ldl is needed and not when opencl is not found.
This commit is contained in:
parent
863488e3d0
commit
9d84e91560
@ -136,6 +136,8 @@ if test "$found_opencl" = 1; then
|
|||||||
DLOPEN_FLAGS=""
|
DLOPEN_FLAGS=""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
DLOPEN_FLAGS=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SEARCH_LIBS(addstr, ncurses pdcurses, ,
|
AC_SEARCH_LIBS(addstr, ncurses pdcurses, ,
|
||||||
@ -238,6 +240,7 @@ AC_DEFINE_UNQUOTED([CGMINER_PREFIX], ["$prefix/bin"], [Path to cgminer install])
|
|||||||
AC_SUBST(OPENCL_LIBS)
|
AC_SUBST(OPENCL_LIBS)
|
||||||
AC_SUBST(JANSSON_LIBS)
|
AC_SUBST(JANSSON_LIBS)
|
||||||
AC_SUBST(PTHREAD_FLAGS)
|
AC_SUBST(PTHREAD_FLAGS)
|
||||||
|
AC_SUBST(DLOPEN_FLAGS)
|
||||||
AC_SUBST(PTHREAD_LIBS)
|
AC_SUBST(PTHREAD_LIBS)
|
||||||
AC_SUBST(NCURSES_LIBS)
|
AC_SUBST(NCURSES_LIBS)
|
||||||
AC_SUBST(PDCURSES_LIBS)
|
AC_SUBST(PDCURSES_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user