bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25703] .LIBPATTERNS is not pattern dependent.


From: anonymous
Subject: [bug #25703] .LIBPATTERNS is not pattern dependent.
Date: Wed, 25 Feb 2009 13:34:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19

URL:
  <http://savannah.gnu.org/bugs/?25703>

                 Summary: .LIBPATTERNS is not pattern dependent.
                 Project: make
            Submitted by: None
            Submitted on: Wed 25 Feb 2009 01:34:13 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: POSIX-Based
           Fixed Release: None

    _______________________________________________________

Details:

The following makefile illustrates what I regard as a bug in make's library
search mechanism. In short .LIBPATTERNS does not work as either a pattern or
target dependent variable.

all: dynamic.show static.show

dynamic.%: .LIBPATTERNS = lib%.so lib%.a
static.%:  .LIBPATTERNS = lib%.a lib%.so 

libs := -lm -lnsl

dynamic.show: $(libs)
static.show:  $(libs)

%.show:
        @ echo "LIBPATTERNS and VPATH resolution: $(.LIBPATTERNS) : $@ : $^"







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25703>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]