Ticket #23376: 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 … … 265 265 gitexecdir = libexec/git-core 266 266 sharedir = $(prefix)/share 267 267 template_dir = share/git-core/templates 268 htmldir = share/doc/git- doc268 htmldir = share/doc/git-core 269 269 ifeq ($(prefix),/usr) 270 270 sysconfdir = /etc 271 271 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1069 1069 ifdef NO_R_TO_GCC_LINKER 1070 1070 # Some gcc does not accept and pass -R to the linker to specify 1071 1071 # the runtime dynamic library path. 1072 CC_LD_DYNPATH = - Wl,-rpath,1072 CC_LD_DYNPATH = -L 1073 1073 else 1074 1074 CC_LD_DYNPATH = -R 1075 1075 endif … … 1084 1084 BASIC_CFLAGS += -DNO_CURL 1085 1085 else 1086 1086 ifdef CURLDIR 1087 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1087 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1088 1088 BASIC_CFLAGS += -I$(CURLDIR)/include 1089 1089 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1090 1090 else