Ticket #19563: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 16 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 … … 215 215 gitexecdir = libexec/git-core 216 216 sharedir = $(prefix)/share 217 217 template_dir = share/git-core/templates 218 htmldir = share/doc/git- doc218 htmldir = share/doc/git-core 219 219 ifeq ($(prefix),/usr) 220 220 sysconfdir = /etc 221 221 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 872 872 ifdef NO_R_TO_GCC_LINKER 873 873 # Some gcc does not accept and pass -R to the linker to specify 874 874 # the runtime dynamic library path. 875 CC_LD_DYNPATH = - Wl,-rpath,875 CC_LD_DYNPATH = -L 876 876 else 877 877 CC_LD_DYNPATH = -R 878 878 endif … … 882 882 BASIC_CFLAGS += -DNO_CURL 883 883 else 884 884 ifdef CURLDIR 885 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.885 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 886 886 BASIC_CFLAGS += -I$(CURLDIR)/include 887 887 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 888 888 else