Skip to content

Commit

Permalink
Update spk/dotnet9-runtime/Makefile
Browse files Browse the repository at this point in the history
Co-authored-by: hgy59 <[email protected]>
  • Loading branch information
brice-fromentin and hgy59 authored Dec 5, 2024
1 parent 9854bac commit a657095
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions spk/dotnet9-runtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a657095

Please sign in to comment.