Ticket #23014: 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 … … 1068 1068 ifdef NO_R_TO_GCC_LINKER 1069 1069 # Some gcc does not accept and pass -R to the linker to specify 1070 1070 # the runtime dynamic library path. 1071 CC_LD_DYNPATH = - Wl,-rpath,1071 CC_LD_DYNPATH = -L 1072 1072 else 1073 1073 CC_LD_DYNPATH = -R 1074 1074 endif … … 1083 1083 BASIC_CFLAGS += -DNO_CURL 1084 1084 else 1085 1085 ifdef CURLDIR 1086 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1086 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1087 1087 BASIC_CFLAGS += -I$(CURLDIR)/include 1088 1088 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1089 1089 else