Ticket #25471: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 14 years ago) |
---|
-
Makefile
old new 134 134 # 135 135 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 136 136 # that tells runtime paths to dynamic libraries; 137 # "-Wl,-rpath =/path/lib" is used instead.137 # "-Wl,-rpath,/path/lib" is used instead. 138 138 # 139 139 # Define USE_NSEC below if you want git to care about sub-second file mtimes 140 140 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 273 273 gitexecdir = libexec/git-core 274 274 sharedir = $(prefix)/share 275 275 template_dir = share/git-core/templates 276 htmldir = share/doc/git- doc276 htmldir = share/doc/git-core 277 277 ifeq ($(prefix),/usr) 278 278 sysconfdir = /etc 279 279 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1108 1108 ifdef NO_R_TO_GCC_LINKER 1109 1109 # Some gcc does not accept and pass -R to the linker to specify 1110 1110 # the runtime dynamic library path. 1111 CC_LD_DYNPATH = - Wl,-rpath,1111 CC_LD_DYNPATH = -L 1112 1112 else 1113 1113 CC_LD_DYNPATH = -R 1114 1114 endif … … 1126 1126 REMOTE_CURL_NAMES = 1127 1127 else 1128 1128 ifdef CURLDIR 1129 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1129 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1130 1130 BASIC_CFLAGS += -I$(CURLDIR)/include 1131 1131 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1132 1132 else