Ticket #19862: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 15 years ago) |
---|
-
Makefile
old new 118 118 # 119 119 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 120 120 # that tells runtime paths to dynamic libraries; 121 # "-Wl,-rpath =/path/lib" is used instead.121 # "-Wl,-rpath,/path/lib" is used instead. 122 122 # 123 123 # Define USE_NSEC below if you want git to care about sub-second file mtimes 124 124 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 218 218 gitexecdir = libexec/git-core 219 219 sharedir = $(prefix)/share 220 220 template_dir = share/git-core/templates 221 htmldir = share/doc/git- doc221 htmldir = share/doc/git-core 222 222 ifeq ($(prefix),/usr) 223 223 sysconfdir = /etc 224 224 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 876 876 ifdef NO_R_TO_GCC_LINKER 877 877 # Some gcc does not accept and pass -R to the linker to specify 878 878 # the runtime dynamic library path. 879 CC_LD_DYNPATH = - Wl,-rpath,879 CC_LD_DYNPATH = -L 880 880 else 881 881 CC_LD_DYNPATH = -R 882 882 endif … … 886 886 BASIC_CFLAGS += -DNO_CURL 887 887 else 888 888 ifdef CURLDIR 889 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.889 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 890 890 BASIC_CFLAGS += -I$(CURLDIR)/include 891 891 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 892 892 else