Ticket #25791: patch-Makefile.diff

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

    old new  
    140140#
    141141# Define NO_R_TO_GCC_LINKER if your gcc does not like "-R/path/lib"
    142142# that tells runtime paths to dynamic libraries;
    143 # "-Wl,-rpath=/path/lib" is used instead.
     143# "-Wl,-rpath,/path/lib" is used instead.
    144144#
    145145# Define USE_NSEC below if you want git to care about sub-second file mtimes
    146146# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
     
    282282sharedir = $(prefix)/share
    283283gitwebdir = $(sharedir)/gitweb
    284284template_dir = share/git-core/templates
    285 htmldir = share/doc/git-doc
     285htmldir = share/doc/git-core
    286286ifeq ($(prefix),/usr)
    287287sysconfdir = /etc
    288288ETC_GITCONFIG = $(sysconfdir)/gitconfig
     
    11761176        ifdef NO_R_TO_GCC_LINKER
    11771177                # Some gcc does not accept and pass -R to the linker to specify
    11781178                # the runtime dynamic library path.
    1179                 CC_LD_DYNPATH = -Wl,-rpath,
     1179                CC_LD_DYNPATH = -L
    11801180        else
    11811181                CC_LD_DYNPATH = -R
    11821182        endif
     
    11941194        REMOTE_CURL_NAMES =
    11951195else
    11961196        ifdef CURLDIR
    1197                 # Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case.
     1197                # Try "-Wl,-rpath,$(CURLDIR)/$(lib)" in such a case.
    11981198                BASIC_CFLAGS += -I$(CURLDIR)/include
    11991199                CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl
    12001200        else