Le 19/10/15 15:40, Norbert Thiebaud a écrit :
On Mon, Oct 19, 2015 at 3:13 AM, Richard PALO <richard@netbsd.org> wrote:
Le 19/10/15 06:37, Norbert Thiebaud a écrit :
On Sun, Oct 18, 2015 at 10:54 PM, Richard PALO <richard@netbsd.org> wrote:
I'd like to advance, one way or another on this topic.
With the latest revision working on gerrit, I'm curious whether it would be preferable
to pass directly the library, if needed.
That is, instead of 'DLOPEN_NEEDS_LIBDL' being '' or 'TRUE', something like
'DLOPEN_LIBS' being either '' or '-ldl'.
Then the usages would look like:
 $(eval $(call gb_Library_add_libs,sofficeapp,\
-    $(if $(filter $(OS),LINUX), \
-        -ldl \
+    $(if $(filter LINUX %BSD SOLARIS, $(OS)), \
+        $(DLOPEN_LIBS) \
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.