[Top][All Lists]

[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/ Safari/525.19


                 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



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)

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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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