Skip to content

Commit aaeaa5e

Browse files
committed
d/package-notes.mk: also check Meson specific LD env var
Meson uses CC_LD and CXX_LD instead of plain LD
1 parent d438dac commit aaeaa5e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

debian/package-notes.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
# Include from debian/rules to use with dh_package_notes.
33
# See dh_package_notes(1) for details
44

5-
# llvm does not support spec files
5+
# llvm does not support spec files. Check for Meson-specific env vars too.
66
ifeq ( ,$(filter lld, $(LD)))
7+
ifeq ( ,$(filter lld, $(CC_LD)))
8+
ifeq ( ,$(filter lld, $(CXX_LD)))
79
# Ubuntu implemented this in dpkg-buildpackage, make this a no-op to avoid duplication
810
include /usr/share/dpkg/vendor.mk
911
ifneq ($(DEB_VENDOR),Ubuntu)
@@ -20,4 +22,6 @@ export DEB_LDFLAGS_MAINT_APPEND+= -specs=/usr/share/debhelper/dh_package_notes/d
2022
endif
2123
endif
2224
endif
25+
endif
26+
endif
2327

0 commit comments

Comments
 (0)