connectivity/Library_mysqlc.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5f1f79b358cdb42ebcf35e05623801fcd1f81017
Author:     Julien Nabet <[email protected]>
AuthorDate: Mon Jan 12 23:02:34 2026 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Feb 9 09:34:38 2026 +0100

    Resolves: tdf#170410 drop libmysqlclo dependency on libcrypt
    
    Originally:
    
    Fix "unable to find library -lcrypt" with recent glibc
    
    ld.lld: error: unable to find library -lcrypt
    [LNK] Library/libunotest.so
    clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
    [MOD] svtools
    make[1]: *** 
[/home/julien/lo/libreoffice/connectivity/Library_mysqlc.mk:10: 
/home/julien/lo/libreoffice/instdir/program/libmysqlclo.so] Error 1
    
    Change-Id: I6472de619971f631c76e2d463d2057fb26562db4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197155
    Reviewed-by: Julien Nabet <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit a726c634ac9cabedc1bbeb4ff655ff2f83fe8d8e)
    
    +
    
    Related: tdf#170410 remove redundant CRYPT_LIBS
    
    commit a726c634ac9cabedc1bbeb4ff655ff2f83fe8d8e
    Date:   Mon Jan 12 23:02:34 2026 +0100
    
        Fix "unable to find library -lcrypt" with recent glibc
    
    added a use of CRYPT_LIBS, but that doesn't appear in config_host.mk.in
    
    so effectively that universally removed -lcrypt from the mysqlc link line
    
    Change-Id: I58f49cddeec2b2d3445e569610e4848d310c84d9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198886
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>
    (cherry picked from commit a44fc53d055d414ca78e0020d125a73d4587f801)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198888
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/connectivity/Library_mysqlc.mk b/connectivity/Library_mysqlc.mk
index 99410d2c0ddb..01607b4f44d7 100644
--- a/connectivity/Library_mysqlc.mk
+++ b/connectivity/Library_mysqlc.mk
@@ -25,7 +25,7 @@ $(eval $(call gb_Library_set_include,mysqlc,\
 $(eval $(call gb_Library_add_libs,mysqlc,\
        $(if $(WITH_GSSAPI),$(GSSAPI_LIBS)) \
        $(if $(filter-out WNT,$(OS)),$(if $(filter HAIKU MACOSX SOLARIS,$(OS)),\
-       -lz -lm,-rdynamic -lz -lcrypt -lm)) \
+       -lz -lm,-rdynamic -lz -lm)) \
        $(if $(filter LINUX,$(OS)),-ldl,) \
 ))
 

Reply via email to