From f1f2b4542902c5bc14788f6c2d4190b422e5901f Mon Sep 17 00:00:00 2001
From: Jason Evans <jasone@canonware.com>
Date: Fri, 1 May 2015 08:57:41 -0700
Subject: [PATCH] Embed full library install when running ld on OS X.
This resolves #228.
---
diff --git a/configure b/configure
index 2e5496b..3462934 100755
|
|
case "${host}" in |
4834 | 4834 | so="dylib" |
4835 | 4835 | importlib="${so}" |
4836 | 4836 | force_tls="0" |
4837 | | DSO_LDFLAGS='-shared -Wl,-dylib_install_name,$(@F)' |
| 4837 | DSO_LDFLAGS='-shared -Wl,-install_name,$(LIBDIR)/$(@F)' |
4838 | 4838 | SOREV="${rev}.${so}" |
4839 | 4839 | sbrk_deprecated="1" |
4840 | 4840 | ;; |
diff --git a/configure.ac b/configure.ac
index 4de81dc..53281a1 100644
|
|
case "${host}" in |
269 | 269 | so="dylib" |
270 | 270 | importlib="${so}" |
271 | 271 | force_tls="0" |
272 | | DSO_LDFLAGS='-shared -Wl,-dylib_install_name,$(@F)' |
| 272 | DSO_LDFLAGS='-shared -Wl,-install_name,$(LIBDIR)/$(@F)' |
273 | 273 | SOREV="${rev}.${so}" |
274 | 274 | sbrk_deprecated="1" |
275 | 275 | ;; |