Ticket #19563: patch-Makefile.diff

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

    old new  
    118118#
    119119# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
    120120# that tells runtime paths to dynamic libraries;
    121 # "-Wl,-rpath=/path/lib" is used instead.
     121# "-Wl,-rpath,/path/lib" is used instead.
    122122#
    123123# Define USE_NSEC below if you want git to care about sub-second file mtimes
    124124# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
     
    215215gitexecdir = libexec/git-core
    216216sharedir = $(prefix)/share
    217217template_dir = share/git-core/templates
    218 htmldir = share/doc/git-doc
     218htmldir = share/doc/git-core
    219219ifeq ($(prefix),/usr)
    220220sysconfdir = /etc
    221221ETC_GITCONFIG = $(sysconfdir)/gitconfig
     
    872872        ifdef NO_R_TO_GCC_LINKER
    873873                # Some gcc does not accept and pass -R to the linker to specify
    874874                # the runtime dynamic library path.
    875                 CC_LD_DYNPATH = -Wl,-rpath,
     875                CC_LD_DYNPATH = -L
    876876        else
    877877                CC_LD_DYNPATH = -R
    878878        endif
     
    882882        BASIC_CFLAGS += -DNO_CURL
    883883else
    884884        ifdef CURLDIR
    885                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case.
     885                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case.
    886886                BASIC_CFLAGS += -I$(CURLDIR)/include
    887887                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
    888888        else