libtool-commit
[Top][All Lists]
Advanced

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

cygwin wrapper with no deplibs [libtool--release--2.0--patch-52]


From: Gary V. Vaughan
Subject: cygwin wrapper with no deplibs [libtool--release--2.0--patch-52]
Date: Mon, 1 Nov 2004 17:27:17 +0000 (GMT)
User-agent: mailnotify/0.6

Tree version:   address@hidden/libtool--devo--1.0
CVSROOT:        /cvsroot/libtool
TIMESTAMP:       1.1721 2004/11/01 17:28:29
Module name:    /cvsroot/libtool/libtool
Changes by:     address@hidden

Log Message:
        
        Sometimes, a wrapper script is generated for an executable that,
        itself, does not link against an uninstalled library.  It appears
        that this can happen if you are building a project where:
        
          (1) there is a library
          (2) there is an executable that does not, itself, link against
              that library
        
        In this case, notinst_deplibs is empty, and when the wrapper
        script is loaded by libtool during ./libtool mode=install, there
        is a check for "is notinst_deplibs empty".  In this case, it is,
        so libtool reports an error.
        
        I don't think it is wrong to have a wrapper script for an exe that
        *technically* doesn't need it.  But instead of checking for
        notinst_deplib nonempty as a proxy for "did wrapper script get
        sourced into my environment properly" a different var should be
        used.
        
        * config/ltmain.m4sh (func_mode_install): set new variable
        `generated_by_libtool_version' in wrapper script when using
        libtool_install_magic.  When verifying that wrapper script was
        properly sourced, check that `generated_by_libtool_version' is
        non-empty, instead of using notinst_deplibs.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
__________________________________________________________
This commit notification generated by tlaapply version 0.9
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0




reply via email to

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