The following commit has been merged in the master branch:
commit 8b40380413a616ba1c9e0d46505b6fedc57c7fc0
Author: Guillem Jover <[email protected]>
Date:   Sat Apr 20 21:38:38 2013 +0200

    dpkg: On Mac OS X check for update_dyld_shared_cache instead of ldconfig

diff --git a/src/help.c b/src/help.c
index dfcf7e8..2af873c 100644
--- a/src/help.c
+++ b/src/help.c
@@ -89,7 +89,13 @@ void checkpath(void) {
     TAR,
     FIND,
     BACKEND,
+    /* Mac OS X uses dyld (Mach-O) instead of ld.so (ELF), and does not have
+     * an ldconfig. */
+#if defined(__APPLE__) && defined(__MACH__)
+    "update_dyld_shared_cache",
+#else
     "ldconfig",
+#endif
 #if BUILD_START_STOP_DAEMON
     "start-stop-daemon",
 #endif

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to