Ticket #24610: patch-Makefile.diff

File patch-Makefile.diff, 1.3 KB (added by maccheck@…, 15 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
     
    270270gitexecdir = libexec/git-core
    271271sharedir = $(prefix)/share
    272272template_dir = share/git-core/templates
    273 htmldir = share/doc/git-doc
     273htmldir = share/doc/git-core
    274274ifeq ($(prefix),/usr)
    275275sysconfdir = /etc
    276276ETC_GITCONFIG = $(sysconfdir)/gitconfig
     
    10981098        ifdef NO_R_TO_GCC_LINKER
    10991099                # Some gcc does not accept and pass -R to the linker to specify
    11001100                # the runtime dynamic library path.
    1101                 CC_LD_DYNPATH = -Wl,-rpath,
     1101                CC_LD_DYNPATH = -L
    11021102        else
    11031103                CC_LD_DYNPATH = -R
    11041104        endif
     
    11161116        REMOTE_CURL_NAMES =
    11171117else
    11181118        ifdef CURLDIR
    1119                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case.
     1119                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case.
    11201120                BASIC_CFLAGS += -I$(CURLDIR)/include
    11211121                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
    11221122        else