Ticket #20485: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 15 years ago) |
---|
-
Makefile
old new 133 133 # 134 134 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 135 135 # that tells runtime paths to dynamic libraries; 136 # "-Wl,-rpath =/path/lib" is used instead.136 # "-Wl,-rpath,/path/lib" is used instead. 137 137 # 138 138 # Define USE_NSEC below if you want git to care about sub-second file mtimes 139 139 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 238 238 gitexecdir = libexec/git-core 239 239 sharedir = $(prefix)/share 240 240 template_dir = share/git-core/templates 241 htmldir = share/doc/git- doc241 htmldir = share/doc/git-core 242 242 ifeq ($(prefix),/usr) 243 243 sysconfdir = /etc 244 244 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 958 958 ifdef NO_R_TO_GCC_LINKER 959 959 # Some gcc does not accept and pass -R to the linker to specify 960 960 # the runtime dynamic library path. 961 CC_LD_DYNPATH = - Wl,-rpath,961 CC_LD_DYNPATH = -L 962 962 else 963 963 CC_LD_DYNPATH = -R 964 964 endif … … 973 973 BASIC_CFLAGS += -DNO_CURL 974 974 else 975 975 ifdef CURLDIR 976 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.976 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 977 977 BASIC_CFLAGS += -I$(CURLDIR)/include 978 978 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 979 979 else