]> sourceware.org Git - automake.git/commitdiff
1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
authorTom Tromey <tromey@redhat.com>
Thu, 25 Mar 1999 17:52:47 +0000 (17:52 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 25 Mar 1999 17:52:47 +0000 (17:52 +0000)
* automake.in (LDADD): accept -dlopen and -dlpreopen here
* automake.texi: ditto

ChangeLog
automake.in
automake.texi

index 520742e6016c6ec969cd3973bd52a156fa9feee3..84fe16c0a12212c4ceeed78e4fe84f5ed923816d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * automake.in (LDADD): accept -dlopen and -dlpreopen here
+       * automake.texi: ditto
+
 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
index f5cebcbeeae4eb76c6459715e960f1ad6438f2b3..085159fda17cf1a12c3ee8790ce635270addbd40 100755 (executable)
@@ -1300,6 +1300,8 @@ sub handle_lib_objects_cond
        {
            if ($var =~ /^(.*)LDADD$/)
            {
+               # Skip -dlopen and -dlpreopen; these are explicitly allowed.
+               next if $lsearch =~ /^-dl(pre)?open$/;
                &am_line_error ($var, "linker flags such as \`$lsearch' belong in \`${1}LDFLAGS");
            }
            else
index d7d319740c815bb5b192cd278b8cf974043da8d0..6e5c959efb6016133c4eac577f533bdde7f81f8c 100644 (file)
@@ -1619,8 +1619,9 @@ rmt_SOURCES = @dots{}
 @cindex _LDFLAGS, defined
 
 @samp{@var{prog}_LDADD} is inappropriate for passing program-specific
-linker flags (except for @samp{-l} and @samp{-L}).  So, use the
-@samp{@var{prog}_LDFLAGS} variable for this purpose.
+linker flags (except for @samp{-l}, @samp{-L}, @samp{-dlopen} and
+@samp{-dlpreopen}).  So, use the @samp{@var{prog}_LDFLAGS} variable for
+this purpose.
 @vindex _LDFLAGS
 
 @cindex _DEPENDENCIES, defined
@@ -1634,10 +1635,11 @@ done.
 If @samp{@var{prog}_DEPENDENCIES} is not supplied, it is computed by
 Automake.  The automatically-assigned value is the contents of
 @samp{@var{prog}_LDADD}, with most configure substitutions, @samp{-l},
-and @samp{-L} options removed.  The configure substitutions that are
-left in are only @samp{@@LIBOBJS@@} and @samp{@@ALLOCA@@}; these are
-left because it is known that they will not cause an invalid value for
-@samp{@var{prog}_DEPENDENCIES} to be generated.
+@samp{-L}, @samp{-dlopen} and @samp{-dlpreopen} options removed.  The
+configure substitutions that are left in are only @samp{@@LIBOBJS@@} and
+@samp{@@ALLOCA@@}; these are left because it is known that they will not
+cause an invalid value for @samp{@var{prog}_DEPENDENCIES} to be
+generated.
 
 
 @node A Library, LIBOBJS, A Program, Programs
This page took 0.051517 seconds and 5 git commands to generate.