Ticket #24610: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 15 years ago) |
---|
-
Makefile
old new 131 131 # 132 132 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 133 133 # that tells runtime paths to dynamic libraries; 134 # "-Wl,-rpath =/path/lib" is used instead.134 # "-Wl,-rpath,/path/lib" is used instead. 135 135 # 136 136 # Define USE_NSEC below if you want git to care about sub-second file mtimes 137 137 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 270 270 gitexecdir = libexec/git-core 271 271 sharedir = $(prefix)/share 272 272 template_dir = share/git-core/templates 273 htmldir = share/doc/git- doc273 htmldir = share/doc/git-core 274 274 ifeq ($(prefix),/usr) 275 275 sysconfdir = /etc 276 276 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1098 1098 ifdef NO_R_TO_GCC_LINKER 1099 1099 # Some gcc does not accept and pass -R to the linker to specify 1100 1100 # the runtime dynamic library path. 1101 CC_LD_DYNPATH = - Wl,-rpath,1101 CC_LD_DYNPATH = -L 1102 1102 else 1103 1103 CC_LD_DYNPATH = -R 1104 1104 endif … … 1116 1116 REMOTE_CURL_NAMES = 1117 1117 else 1118 1118 ifdef CURLDIR 1119 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1119 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1120 1120 BASIC_CFLAGS += -I$(CURLDIR)/include 1121 1121 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1122 1122 else