This commit is contained in:
Sebastian Reitenbach 2025-03-10 22:12:54 +01:00 committed by GitHub
commit 938f21ad20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -724,8 +724,13 @@ SHARED_LIBEXT = .so
HAVE_BUNDLES = yes
BUNDLE_LD = $(LD)
ifeq ($(CLANG_CC), yes)
BUNDLE_LDFLAGS += -shared -fPIC -lc++abi
ADDITIONAL_LDFLAGS += -Wl,-E -lc++abi
else
BUNDLE_LDFLAGS += -shared -fPIC
ADDITIONAL_LDFLAGS += -Wl,-E
endif
STATIC_LDFLAGS += -static
# nm on OpenBSD is rather like on Darwin