blob: 8bc6233de6dfc223e63377888ddb311fcf718a12 (
plain)
1 --- a/src/nmath/standalone/Makefile.in 2017-07-05 23:20:26.098087600 +0000
2 +++ b/src/nmath/standalone/Makefile.in 2017-07-05 23:21:55.087480310 +0000
3 @@ -64,7 +64,8 @@
4 Rexeclibdir_LTLIBRARIES = $(libRmath_la)
5 libRmath_la_SOURCES = $(SOURCES)
6 libRmath_la_OBJECTS = $(OBJECTS:.o=.lo)
7 -libRmath_la_LDFLAGS =
8 +libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so
9 +libRmath_la_LIBADD = $(LIBM)
10
11 CLEANFILES = Makedeps *.d *.o *.lo test check.log $(SOURCES)
12 DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
13 @@ -127,7 +128,7 @@
14
15 ## under peculiar circumstances, $(LIBM) here helps.
16 $(libRmath_la): $(libRmath_la_OBJECTS)
17 - $(DYLIB_LINK) -o $@ $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(LIBM)
18 + $(DYLIB_LINK) $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(libRmath_la_LIBADD) -o $@
19
20 test: $(srcdir)/test.c
21 $(CC) -o $@ $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(srcdir)/test.c \
|