vcl/Executable_visualbackendtest.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 31373fa085b9985f315b10f008eca5e1a15cc6c7
Author:     Gleb Popov <[email protected]>
AuthorDate: Fri Oct 16 16:27:18 2020 +0400
Commit:     Michael Stahl <[email protected]>
CommitDate: Sat Oct 17 12:57:46 2020 +0200

    Extend the conditional to *BSD systems to fix linking issue.
    
    While there, use DLOPEN_LIBS variable instead of "-ldl" constant.
    
    Change-Id: I5fb42b216afb6ea2a7b40fb1479c474c89e0706e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104432
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/vcl/Executable_visualbackendtest.mk 
b/vcl/Executable_visualbackendtest.mk
index 41c641a5ff14..c6c0d237018a 100644
--- a/vcl/Executable_visualbackendtest.mk
+++ b/vcl/Executable_visualbackendtest.mk
@@ -41,10 +41,10 @@ $(eval $(call 
gb_Executable_use_static_libraries,visualbackendtest,\
     vclmain \
 ))
 
-ifeq ($(OS),LINUX)
+ifneq (, $(filter LINUX %BSD, $(OS)))
 $(eval $(call gb_Executable_add_libs,visualbackendtest,\
        -lm \
-       -ldl \
+       $(DLOPEN_LIBS) \
     -lX11 \
 ))
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to