diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-01-21 17:29:57 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-01-24 10:39:29 +0100 |
commit | 60558790a2a832265ec041131e851b6648f514d4 (patch) | |
tree | 167866b17e1ff23a6cc8471e782a1bbd59f0b1d6 /include | |
parent | 68b29a7a9595bd1a5c634c1004168a434d5b1c62 (diff) | |
download | upstream-60558790a2a832265ec041131e851b6648f514d4.tar.gz upstream-60558790a2a832265ec041131e851b6648f514d4.tar.bz2 upstream-60558790a2a832265ec041131e851b6648f514d4.zip |
build: extend ABI_VERSION suffixing to provides
When a library package specifies additional provides, e.g. libncurses
which provides libncursesw, we should also append the abi version
suffix to each provide, since there may be more than one package
providing the virtual library.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
-rw-r--r-- | include/package-ipkg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index dc05eefc7c..1cb4da8e30 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -162,7 +162,7 @@ Package: $(1)$$(ABIV_$(1)) Version: $(VERSION) $$(call addfield,Depends,$$(Package/$(1)/DEPENDS) )$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS)) -)$$(call addfield,Provides,$$(call mergelist,$(PROVIDES)$$(if $$(ABIV_$(1)), $(1))) +)$$(call addfield,Provides,$$(call mergelist,$(PROVIDES)$$(if $$(ABIV_$(1)), $(1) $(foreach provide,$(PROVIDES),$(provide)$$(ABIV_$(1))))) )$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES)) )$$(call addfield,Source,$(SOURCE) )$$(call addfield,SourceName,$(1) |