diff options
| author | 2018-10-13 19:19:21 +0000 | |
|---|---|---|
| committer | 2018-10-13 19:19:21 +0000 | |
| commit | 77c081474886c75d6a7a03f395158656626fa044 (patch) | |
| tree | 7461b61cb55b129edcb98a58646ddb097725e1a2 /lib/libcxx | |
| parent | Expose net.inet.ip.arpq.drops to help debug what's going on when a lot (diff) | |
| download | wireguard-openbsd-77c081474886c75d6a7a03f395158656626fa044.tar.xz wireguard-openbsd-77c081474886c75d6a7a03f395158656626fa044.zip | |
Link libc++.so against libc++abi.so such that linking C binaries against
a C++ shared library will work correctly with modern linkers.
ok guenther@
Diffstat (limited to 'lib/libcxx')
| -rw-r--r-- | lib/libcxx/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcxx/Makefile b/lib/libcxx/Makefile index fc5a29a8dd1..96579b071db 100644 --- a/lib/libcxx/Makefile +++ b/lib/libcxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2018/09/11 18:32:56 robert Exp $ +# $OpenBSD: Makefile,v 1.10 2018/10/13 19:19:21 kettenis Exp $ .include <bsd.own.mk> @@ -58,6 +58,8 @@ CXXFLAGS+= -nostdlib -nostdinc++ CXXFLAGS+= -std=c++11 .endif +LDADD+= -L${BSDOBJDIR}/lib/libcxxabi -lc++abi + STD_HEADERS= __bit_reference \ __bsd_locale_defaults.h \ |
