Ticket #16955: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 16 years ago) |
---|
-
Makefile
old new 113 113 # 114 114 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 115 115 # that tells runtime paths to dynamic libraries; 116 # "-Wl,-rpath =/path/lib" is used instead.116 # "-Wl,-rpath,/path/lib" is used instead. 117 117 # 118 118 # Define USE_NSEC below if you want git to care about sub-second file mtimes 119 119 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 187 187 gitexecdir = $(prefix)/libexec/git-core 188 188 sharedir = $(prefix)/share 189 189 template_dir = $(sharedir)/git-core/templates 190 htmldir=$(sharedir)/doc/git- doc190 htmldir=$(sharedir)/doc/git-core 191 191 ifeq ($(prefix),/usr) 192 192 sysconfdir = /etc 193 193 else … … 791 791 ifdef NO_R_TO_GCC_LINKER 792 792 # Some gcc does not accept and pass -R to the linker to specify 793 793 # the runtime dynamic library path. 794 CC_LD_DYNPATH = -Wl,-rpath =794 CC_LD_DYNPATH = -Wl,-rpath, 795 795 else 796 796 CC_LD_DYNPATH = -R 797 797 endif … … 800 800 BASIC_CFLAGS += -DNO_CURL 801 801 else 802 802 ifdef CURLDIR 803 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.803 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 804 804 BASIC_CFLAGS += -I$(CURLDIR)/include 805 805 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 806 806 else