Ticket #22027: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 15 years ago) |
---|
-
Makefile
old new 131 131 # 132 132 # Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 133 133 # that tells runtime paths to dynamic libraries; 134 # "-Wl,-rpath =/path/lib" is used instead.134 # "-Wl,-rpath,/path/lib" is used instead. 135 135 # 136 136 # Define USE_NSEC below if you want git to care about sub-second file mtimes 137 137 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and … … 240 240 gitexecdir = libexec/git-core 241 241 sharedir = $(prefix)/share 242 242 template_dir = share/git-core/templates 243 htmldir = share/doc/git- doc243 htmldir = share/doc/git-core 244 244 ifeq ($(prefix),/usr) 245 245 sysconfdir = /etc 246 246 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1029 1029 ifdef NO_R_TO_GCC_LINKER 1030 1030 # Some gcc does not accept and pass -R to the linker to specify 1031 1031 # the runtime dynamic library path. 1032 CC_LD_DYNPATH = - Wl,-rpath,1032 CC_LD_DYNPATH = -L 1033 1033 else 1034 1034 CC_LD_DYNPATH = -R 1035 1035 endif … … 1044 1044 BASIC_CFLAGS += -DNO_CURL 1045 1045 else 1046 1046 ifdef CURLDIR 1047 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1047 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1048 1048 BASIC_CFLAGS += -I$(CURLDIR)/include 1049 1049 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1050 1050 else