Explorar o código

src/Makefile.am: libraries StarPU depends on need to be added when building the main library when compiling on MacOS. Thanks to Guillaume Alleon for reporting this issue

Nathalie Furmento %!s(int64=14) %!d(string=hai) anos
pai
achega
6a38cd14e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Makefile.am

+ 1 - 1
src/Makefile.am

@@ -49,7 +49,7 @@ lib_LTLIBRARIES = libstarpu.la
 libstarpu_la_CPPFLAGS = -I$(top_srcdir)/include/
 
 libstarpu_la_CFLAGS = -W -Wall -Wextra $(HWLOC_CFLAGS) $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS)
-libstarpu_la_LIBADD = -lm $(HWLOC_LIBS)
+libstarpu_la_LIBADD = -lm $(HWLOC_LIBS) $(STARPU_CUDA_LDFLAGS) $(STARPU_OPENCL_LDFLAGS)
 libstarpu_la_LDFLAGS = $(ldflags) -version-number 0:0:0 -no-undefined
 
 noinst_HEADERS = 						\