From: Brian Gernhardt Date: Thu, 04 Oct 2007 01:08:11 GMT Subject: Re: [PATCH] Be nice with compilers that do not support runtime paths at all. Message-ID: In-Reply-To: <47041C7A.9090003@midwinter.com> On Oct 3, 2007, at 6:49 PM, Steven Grimm wrote: > Benoit Sigoure wrote: >> On Darwin for instance, there is no -R or -Wl,-rpath thing to >> fiddle with, >> it's simply not supported by the dynamic loader. This patch >> introduces a >> NO_RPATH define which is enabled by default for Darwin. >> > > I compile git on a MacBook Pro (OS X 10.4, gcc 4.0.1 build 5367 > from the normal Xcode install that comes on the OS install DVD) on > a regular basis. The makefile works fine for me. I suspect there's > something else going on here. The rpath code is only used if you define one of the following options: CURLDIR ZLIB_PATH OPENSSLDIR ICONVDIR The default Darwin options don't define any of these, it just relies on finding those libraries in the library path (including /sw or /opt/ local if you have them installed). ~~ Brian G.