Ticket #19376: 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 … … 199 199 gitexecdir = libexec/git-core 200 200 sharedir = $(prefix)/share 201 201 template_dir = share/git-core/templates 202 htmldir = share/doc/git- doc202 htmldir = share/doc/git-core 203 203 ifeq ($(prefix),/usr) 204 204 sysconfdir = /etc 205 205 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 831 831 ifdef NO_R_TO_GCC_LINKER 832 832 # Some gcc does not accept and pass -R to the linker to specify 833 833 # the runtime dynamic library path. 834 CC_LD_DYNPATH = - Wl,-rpath,834 CC_LD_DYNPATH = -L 835 835 else 836 836 CC_LD_DYNPATH = -R 837 837 endif … … 841 841 BASIC_CFLAGS += -DNO_CURL 842 842 else 843 843 ifdef CURLDIR 844 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.844 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 845 845 BASIC_CFLAGS += -I$(CURLDIR)/include 846 846 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 847 847 else