diff --git a/spk/dotnet9-runtime/Makefile b/spk/dotnet9-runtime/Makefile index bd323404cc2..c8226193fb8 100644 --- a/spk/dotnet9-runtime/Makefile +++ b/spk/dotnet9-runtime/Makefile @@ -21,20 +21,8 @@ DISPLAY_NAME = .NET 9 runtime HOMEPAGE = https://dotnet.microsoft.com/ LICENSE = MIT -include ../../mk/spksrc.common.mk -ifeq ($(call version_lt, ${TCVERSION}, 7.0),1) -# we do not only need the updated libstdc++ library, we also need to -# adjust the library search path for dotnet to use this version. -DEPENDS += -POST_STRIP_TARGET = dotnet_patch_target -endif SPK_COMMANDS = share/dotnet/dotnet include ../../mk/spksrc.spk.mk -.PHONY: dotnet_patch_target -# Set library path to use bundled libstdc++ -dotnet_patch_target: - @$(MSG) "Set library runpath in dotnet executable." - @patchelf --set-rpath /var/packages/$(SPK_NAME)/target/lib $(STAGING_DIR)/share/dotnet/dotnet