Ticket #17805: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 16 years ago) |
---|
-
Makefile
old new 115 115 # 116 116 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 117 117 # that tells runtime paths to dynamic libraries; 118 # "-Wl,-rpath =/path/lib" is used instead.118 # "-Wl,-rpath,/path/lib" is used instead. 119 119 # 120 120 # Define USE_NSEC below if you want git to care about sub-second file mtimes 121 121 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 193 193 gitexecdir = $(prefix)/libexec/git-core 194 194 sharedir = $(prefix)/share 195 195 template_dir = $(sharedir)/git-core/templates 196 htmldir=$(sharedir)/doc/git- doc196 htmldir=$(sharedir)/doc/git-core 197 197 ifeq ($(prefix),/usr) 198 198 sysconfdir = /etc 199 199 else … … 823 823 ifdef NO_R_TO_GCC_LINKER 824 824 # Some gcc does not accept and pass -R to the linker to specify 825 825 # the runtime dynamic library path. 826 CC_LD_DYNPATH = - Wl,-rpath,826 CC_LD_DYNPATH = -L 827 827 else 828 828 CC_LD_DYNPATH = -R 829 829 endif … … 833 833 BASIC_CFLAGS += -DNO_CURL 834 834 else 835 835 ifdef CURLDIR 836 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.836 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 837 837 BASIC_CFLAGS += -I$(CURLDIR)/include 838 838 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 839 839 else