22 lines
899 B
Diff
22 lines
899 B
Diff
--- a/src/nmath/standalone/Makefile.in 2017-07-05 23:20:26.098087600 +0000
|
|
+++ b/src/nmath/standalone/Makefile.in 2017-07-05 23:21:55.087480310 +0000
|
|
@@ -64,7 +64,8 @@
|
|
Rexeclibdir_LTLIBRARIES = $(libRmath_la)
|
|
libRmath_la_SOURCES = $(SOURCES)
|
|
libRmath_la_OBJECTS = $(OBJECTS:.o=.lo)
|
|
-libRmath_la_LDFLAGS =
|
|
+libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so
|
|
+libRmath_la_LIBADD = $(LIBM)
|
|
|
|
CLEANFILES = Makedeps *.d *.o *.lo test check.log $(SOURCES)
|
|
DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
|
|
@@ -127,7 +128,7 @@
|
|
|
|
## under peculiar circumstances, $(LIBM) here helps.
|
|
$(libRmath_la): $(libRmath_la_OBJECTS)
|
|
- $(DYLIB_LINK) -o $@ $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(LIBM)
|
|
+ $(DYLIB_LINK) $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(libRmath_la_LIBADD) -o $@
|
|
|
|
test: $(srcdir)/test.c
|
|
$(CC) -o $@ $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(srcdir)/test.c \
|