libtool-patches
[Top][All Lists]
Advanced

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

subdir builds & $objdir/$output_objdir


From: Bob Friesenhahn
Subject: subdir builds & $objdir/$output_objdir
Date: Sun, 24 Oct 2004 10:30:50 -0500 (CDT)

In my opinion, libtool 2.0 should not be released unless it is capable of building libraries in subdirectories. Currently, the rules for a number of compilers/systems use $objdir or $output_objdir as part of the rule. This causes build failure since $objdir and $output_objdir are just ".libs" and the .libs subdirectory does not exist.

For example, under Digital Unix (OSF), this fragment is generated (and fails):

  -update_registry .libs/so_locations -o 
Magick++/lib/.libs/libGraphicsMagick++.so.2.0.0

This is due to use of

  -update_registry \${objdir}/so_locations -o \$lib

in the archive_expsym_cmds rule.

The failure under IRIX is similar except that $output_objdir is used to refer to the .libs sub-directory (with similar results).

If there is a replacement variable which refers to the actual object target directory, then it may be used to replace $objdir/$output_objdir in the linkage rules. Or perhaps, the definition of $output_objdir can be fixed, and it can be used consistently in rules which refer to the .libs directory.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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