Ver código fonte

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 14 anos atrás
pai
commit
6a38cd14e0
1 arquivos alterados com 1 adições e 1 exclusões
  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 = 						\