Ticket #24153: 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 … … 260 260 gitexecdir = libexec/git-core 261 261 sharedir = $(prefix)/share 262 262 template_dir = share/git-core/templates 263 htmldir = share/doc/git- doc263 htmldir = share/doc/git-core 264 264 ifeq ($(prefix),/usr) 265 265 sysconfdir = /etc 266 266 ETC_GITCONFIG = $(sysconfdir)/gitconfig … … 1054 1054 ifdef NO_R_TO_GCC_LINKER 1055 1055 # Some gcc does not accept and pass -R to the linker to specify 1056 1056 # the runtime dynamic library path. 1057 CC_LD_DYNPATH = - Wl,-rpath,1057 CC_LD_DYNPATH = -L 1058 1058 else 1059 1059 CC_LD_DYNPATH = -R 1060 1060 endif … … 1072 1072 REMOTE_CURL_NAMES = 1073 1073 else 1074 1074 ifdef CURLDIR 1075 # Try "-Wl,-rpath =$(CURLDIR)/$(lib)" in such a case.1075 # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 1076 1076 BASIC_CFLAGS += -I$(CURLDIR)/include 1077 1077 CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 1078 1078 else