Ticket #26562: patch-Makefile.diff

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

    old new  
    142142#
    143143# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
    144144# that tells runtime paths to dynamic libraries;
    145 # "-Wl,-rpath=/path/lib" is used instead.
     145# "-Wl,-rpath,/path/lib" is used instead.
    146146#
    147147# Define USE_NSEC below if you want git to care about sub-second file mtimes
    148148# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
     
    284284sharedir = $(prefix)/share
    285285gitwebdir = $(sharedir)/gitweb
    286286template_dir = share/git-core/templates
    287 htmldir = share/doc/git-doc
     287htmldir = share/doc/git-core
    288288ifeq ($(prefix),/usr)
    289289sysconfdir = /etc
    290290ETC_GITCONFIG = $(sysconfdir)/gitconfig
     
    11891189        ifdef NO_R_TO_GCC_LINKER
    11901190                # Some gcc does not accept and pass -R to the linker to specify
    11911191                # the runtime dynamic library path.
    1192                 CC_LD_DYNPATH = -Wl,-rpath,
     1192                CC_LD_DYNPATH = -L
    11931193        else
    11941194                CC_LD_DYNPATH = -R
    11951195        endif
     
    12071207        REMOTE_CURL_NAMES =
    12081208else
    12091209        ifdef CURLDIR
    1210                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case.
     1210                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case.
    12111211                BASIC_CFLAGS += -I$(CURLDIR)/include
    12121212                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
    12131213        else