Skip to content

Commit c2c6186

Browse files
committed
Support creating shared libraries on Hurd/x86_64.
Patch from <https://lists.gnu.org/archive/html/bug-hurd/2023-05/msg00086.html>. * m4/libtool.m4 (_LT_ENABLE_LOCK): Treat Hurd/x86_64 like Linux/x86_64.
1 parent 968e124 commit c2c6186

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2023-05-21 Bruno Haible <bruno@clisp.org>
2+
3+
Support creating shared libraries on Hurd/x86_64.
4+
Patch from
5+
<https://lists.gnu.org/archive/html/bug-hurd/2023-05/msg00086.html>.
6+
* m4/libtool.m4 (_LT_ENABLE_LOCK): Treat Hurd/x86_64 like
7+
Linux/x86_64.
8+
19
2023-05-21 Bruno Haible <bruno@clisp.org>
210

311
Fix link error regarding _libiconv_version on MSVC in C++ mode.

libcharset/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2023-05-21 Bruno Haible <bruno@clisp.org>
2+
3+
Support creating shared libraries on Hurd/x86_64.
4+
Patch from
5+
<https://lists.gnu.org/archive/html/bug-hurd/2023-05/msg00086.html>.
6+
* m4/libtool.m4 (_LT_ENABLE_LOCK): Treat Hurd/x86_64 like
7+
Linux/x86_64.
8+
19
2022-07-17 Bruno Haible <bruno@clisp.org>
210

311
Split autogen.sh into autopull.sh and autogen.sh.

libcharset/m4/libtool.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
22
#
3-
# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
3+
# Copyright (C) 1996-2001, 2003-2019, 2021-2023 Free Software
44
# Foundation, Inc.
55
# Written by Gordon Matzigkeit, 1996
66
#
@@ -1368,7 +1368,7 @@ mips64*-*linux*)
13681368
;;
13691369
13701370
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1371-
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1371+
s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
13721372
# Find out what ABI is being produced by ac_compile, and set linker
13731373
# options accordingly. Note that the listed cases only cover the
13741374
# situations where additional linker options are needed (such as when
@@ -1383,7 +1383,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
13831383
x86_64-*kfreebsd*-gnu)
13841384
LD="${LD-ld} -m elf_i386_fbsd"
13851385
;;
1386-
x86_64-*linux*)
1386+
x86_64-*linux*|x86_64-gnu*)
13871387
case `$FILECMD conftest.o` in
13881388
*x86-64*)
13891389
LD="${LD-ld} -m elf32_x86_64"
@@ -1412,7 +1412,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
14121412
x86_64-*kfreebsd*-gnu)
14131413
LD="${LD-ld} -m elf_x86_64_fbsd"
14141414
;;
1415-
x86_64-*linux*)
1415+
x86_64-*linux*|x86_64-gnu*)
14161416
LD="${LD-ld} -m elf_x86_64"
14171417
;;
14181418
powerpcle-*linux*)

m4/libtool.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
22
#
3-
# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
3+
# Copyright (C) 1996-2001, 2003-2019, 2021-2023 Free Software
44
# Foundation, Inc.
55
# Written by Gordon Matzigkeit, 1996
66
#
@@ -1368,7 +1368,7 @@ mips64*-*linux*)
13681368
;;
13691369
13701370
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1371-
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1371+
s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
13721372
# Find out what ABI is being produced by ac_compile, and set linker
13731373
# options accordingly. Note that the listed cases only cover the
13741374
# situations where additional linker options are needed (such as when
@@ -1383,7 +1383,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
13831383
x86_64-*kfreebsd*-gnu)
13841384
LD="${LD-ld} -m elf_i386_fbsd"
13851385
;;
1386-
x86_64-*linux*)
1386+
x86_64-*linux*|x86_64-gnu*)
13871387
case `$FILECMD conftest.o` in
13881388
*x86-64*)
13891389
LD="${LD-ld} -m elf32_x86_64"
@@ -1412,7 +1412,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
14121412
x86_64-*kfreebsd*-gnu)
14131413
LD="${LD-ld} -m elf_x86_64_fbsd"
14141414
;;
1415-
x86_64-*linux*)
1415+
x86_64-*linux*|x86_64-gnu*)
14161416
LD="${LD-ld} -m elf_x86_64"
14171417
;;
14181418
powerpcle-*linux*)

0 commit comments

Comments
 (0)