Ticket #25791: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 14 years ago) |
---|
-
Makefile
old new 140 140 # 141 141 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 142 142 # that tells runtime paths to dynamic libraries; 143 # "-Wl,-rpath =/path/lib" is used instead.143 # "-Wl,-rpath,/path/lib" is used instead. 144 144 # 145 145 # Define USE_NSEC below if you want git to care about sub-second file mtimes 146 146 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 282 282 sharedir = $(prefix)/share 283 283 gitwebdir = $(sharedir)/gitweb 284 284 template_dir = share/git-core/templates 285 htmldir = share/doc/git- doc285 htmldir = share/doc/git-core 286 286 ifeq ($(prefix),/usr) 287 287 sysconfdir = /etc 288 288 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1176 1176 ifdef NO_R_TO_GCC_LINKER 1177 1177 # Some gcc does not accept and pass -R to the linker to specify 1178 1178 # the runtime dynamic library path. 1179 CC_LD_DYNPATH = - Wl,-rpath,1179 CC_LD_DYNPATH = -L 1180 1180 else 1181 1181 CC_LD_DYNPATH = -R 1182 1182 endif … … 1194 1194 REMOTE_CURL_NAMES = 1195 1195 else 1196 1196 ifdef CURLDIR 1197 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1197 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1198 1198 BASIC_CFLAGS += -I$(CURLDIR)/include 1199 1199 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1200 1200 else