Ticket #26562: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 14 years ago) |
---|
-
Makefile
old new 142 142 # 143 143 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 144 144 # that tells runtime paths to dynamic libraries; 145 # "-Wl,-rpath =/path/lib" is used instead.145 # "-Wl,-rpath,/path/lib" is used instead. 146 146 # 147 147 # Define USE_NSEC below if you want git to care about sub-second file mtimes 148 148 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 284 284 sharedir = $(prefix)/share 285 285 gitwebdir = $(sharedir)/gitweb 286 286 template_dir = share/git-core/templates 287 htmldir = share/doc/git- doc287 htmldir = share/doc/git-core 288 288 ifeq ($(prefix),/usr) 289 289 sysconfdir = /etc 290 290 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1189 1189 ifdef NO_R_TO_GCC_LINKER 1190 1190 # Some gcc does not accept and pass -R to the linker to specify 1191 1191 # the runtime dynamic library path. 1192 CC_LD_DYNPATH = - Wl,-rpath,1192 CC_LD_DYNPATH = -L 1193 1193 else 1194 1194 CC_LD_DYNPATH = -R 1195 1195 endif … … 1207 1207 REMOTE_CURL_NAMES = 1208 1208 else 1209 1209 ifdef CURLDIR 1210 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1210 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1211 1211 BASIC_CFLAGS += -I$(CURLDIR)/include 1212 1212 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1213 1213 else