Add libc++-*-dev -> libc++abi-*-dev dependency

libc++abi-*-dev is necessary when using libc++-*-dev:
  $ apt install clang-17 libc++-17-dev
  $ clang++-17 -stdlib=libc++ -o hello hello.cpp
  /usr/bin/ld: cannot find -lc++abi: No such file or directory
  clang++-17: error: linker command failed with exit code 1 (use -v to see invocation)

Note that the libc++1-* -> libc++abi-* dependency already exists.
This commit is contained in:
Faidon Liambotis 2024-01-05 17:48:32 +02:00
parent e20f4b1bba
commit 4c6dc0ef68
2 changed files with 2 additions and 0 deletions

1
debian/control vendored
View File

@ -678,6 +678,7 @@ Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libc++1-17 (= ${binary:Version}), ${misc:Depends},
libc++abi-17-dev (= ${binary:Version}),
libunwind-17-dev [amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64]
Breaks: libc++-dev (<< 44), libc++abi-17-dev (<< 1:17.0.6-2)
Provides: libc++-x.y-dev

1
debian/control.in vendored
View File

@ -678,6 +678,7 @@ Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libc++1-@LLVM_VERSION@ (= ${binary:Version}), ${misc:Depends},
libc++abi-@LLVM_VERSION@-dev (= ${binary:Version}),
libunwind-@LLVM_VERSION@-dev [amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64]
Breaks: libc++-dev (<< 44), libc++abi-@LLVM_VERSION@-dev (<< 1:17.0.6-2)
Provides: libc++-x.y-dev