[Top][All Lists]

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

Re: AC_LIBTOOL_DLOPEN doesn't add -ldl to any LIBS?

From: Gary V. Vaughan
Subject: Re: AC_LIBTOOL_DLOPEN doesn't add -ldl to any LIBS?
Date: Mon, 13 Oct 2003 11:07:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Kevin P. Fleming wrote:
My uses AC_LIBTOOL_DLOPEN (among many other macros :-), and this works fine. However, this macro does not seem to record its results so that the proper dynamic loader library (if one is needed) is added to the link commands.

As it stands today, I'm adding the contents of $lt_cv_dlopen_libs to LIBS, and that works, but I'm thinking that relying on the value of an internal macro variable like that is not the best solution. Any better ideas out there?

In your

  libfoo_la_LDADD += $(LIBADD_DL)


  program_LIBADD += $(LIBADD_DL)

  ())_.  Gary V. Vaughan    gary@(|
  ( '/   Research Scientist       ,_())____
  / )=   GNU Hacker  \'      `&
`(_~)_   Tech' Author   =`---d__/

reply via email to

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