spack/var/spack/repos/builtin/packages/cdecimal/darwin_install_name.patch
Adam J. Stewart b43e8fcaa7
Python: optional dependencies and post-installation tests (#10335)
* Add post-installation tests to Python package

* libbsd does not build on macOS

* Make Python dependencies optional

* Add readline dep, remove ncurses patch, fix autoreconf
2019-02-23 12:36:26 -06:00

25 lines
694 B
Diff

diff -Naur a/Makefile.in b/Makefile.in
--- a/Makefile.in 2019-01-13 17:43:38.000000000 -0600
+++ b/Makefile.in 2019-01-13 17:44:25.000000000 -0600
@@ -101,7 +101,7 @@
ranlib $(LIBSTATIC)
$(LIBSHARED): Makefile vars.mk $(OBJS)
- $(LD) $(LDFLAGS) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBSHARED) $(OBJS) -lm
+ $(LD) $(LDFLAGS) -shared -Wl,-install_name,$(LIBSONAME) -o $(LIBSHARED) $(OBJS) -lm
$(NEWVARS):
diff -Naur a/configure b/configure
--- a/configure 2019-01-13 17:43:38.000000000 -0600
+++ b/configure 2019-01-13 17:43:56.000000000 -0600
@@ -2385,7 +2385,7 @@
-LIBSHARED=libmpdec.so.$PACKAGE_VERSION
+LIBSHARED=libmpdec.$PACKAGE_VERSION.dylib
# Language and compiler: