Ticket #25471: patch-Makefile.diff

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

    old new  
    134134#
    135135# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
    136136# that tells runtime paths to dynamic libraries;
    137 # "-Wl,-rpath=/path/lib" is used instead.
     137# "-Wl,-rpath,/path/lib" is used instead.
    138138#
    139139# Define USE_NSEC below if you want git to care about sub-second file mtimes
    140140# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
     
    273273gitexecdir = libexec/git-core
    274274sharedir = $(prefix)/share
    275275template_dir = share/git-core/templates
    276 htmldir = share/doc/git-doc
     276htmldir = share/doc/git-core
    277277ifeq ($(prefix),/usr)
    278278sysconfdir = /etc
    279279ETC_GITCONFIG = $(sysconfdir)/gitconfig
     
    11081108        ifdef NO_R_TO_GCC_LINKER
    11091109                # Some gcc does not accept and pass -R to the linker to specify
    11101110                # the runtime dynamic library path.
    1111                 CC_LD_DYNPATH = -Wl,-rpath,
     1111                CC_LD_DYNPATH = -L
    11121112        else
    11131113                CC_LD_DYNPATH = -R
    11141114        endif
     
    11261126        REMOTE_CURL_NAMES =
    11271127else
    11281128        ifdef CURLDIR
    1129                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case.
     1129                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case.
    11301130                BASIC_CFLAGS += -I$(CURLDIR)/include
    11311131                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
    11321132        else