Ticket #22891: 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 … … 244 244 gitexecdir = libexec/git-core 245 245 sharedir = $(prefix)/share 246 246 template_dir = share/git-core/templates 247 htmldir = share/doc/git- doc247 htmldir = share/doc/git-core 248 248 ifeq ($(prefix),/usr) 249 249 sysconfdir = /etc 250 250 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1033 1033 ifdef NO_R_TO_GCC_LINKER 1034 1034 # Some gcc does not accept and pass -R to the linker to specify 1035 1035 # the runtime dynamic library path. 1036 CC_LD_DYNPATH = - Wl,-rpath,1036 CC_LD_DYNPATH = -L 1037 1037 else 1038 1038 CC_LD_DYNPATH = -R 1039 1039 endif … … 1048 1048 BASIC_CFLAGS += -DNO_CURL 1049 1049 else 1050 1050 ifdef CURLDIR 1051 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1051 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1052 1052 BASIC_CFLAGS += -I$(CURLDIR)/include 1053 1053 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1054 1054 else