New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24462: patch-Makefile.diff

File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 3 years ago)
  • Makefile

    old new  
    131131# 
    132132# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib" 
    133133# that tells runtime paths to dynamic libraries; 
    134 # "-Wl,-rpath=/path/lib" is used instead. 
     134# "-Wl,-rpath,/path/lib" is used instead. 
    135135# 
    136136# Define USE_NSEC below if you want git to care about sub-second file mtimes 
    137137# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and 
     
    260260gitexecdir = libexec/git-core 
    261261sharedir = $(prefix)/share 
    262262template_dir = share/git-core/templates 
    263 htmldir = share/doc/git-doc 
     263htmldir = share/doc/git-core 
    264264ifeq ($(prefix),/usr) 
    265265sysconfdir = /etc 
    266266ETC_GITCONFIG = $(sysconfdir)/gitconfig 
     
    10571057        ifdef NO_R_TO_GCC_LINKER 
    10581058                # Some gcc does not accept and pass -R to the linker to specify 
    10591059                # the runtime dynamic library path. 
    1060                 CC_LD_DYNPATH = -Wl,-rpath, 
     1060                CC_LD_DYNPATH = -L 
    10611061        else 
    10621062                CC_LD_DYNPATH = -R 
    10631063        endif 
     
    10751075        REMOTE_CURL_NAMES = 
    10761076else 
    10771077        ifdef CURLDIR 
    1078                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case. 
     1078                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case. 
    10791079                BASIC_CFLAGS += -I$(CURLDIR)/include 
    10801080                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl 
    10811081        else