From d1be5c8c7e8b431fbf240972fc2db90428224f7a Mon Sep 17 00:00:00 2001 From: Francis Roch Date: Thu, 25 Jul 2024 13:12:33 -0400 Subject: [PATCH] Remove ENV directives in compile method --- lib/base.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/base.rb b/lib/base.rb index dcddf18..99c11b4 100644 --- a/lib/base.rb +++ b/lib/base.rb @@ -75,11 +75,6 @@ def install_libwasmvm end def compile_and_install_xiond - unless OS.mac? - ENV["LINK_STATICALLY"] = "true" - ENV["LDFLAGS"] = "-linkmode external -extldflags '-static'" - end - system "make", "install" bin.install "#{ENV.fetch("GOPATH", nil)}/bin/xiond" end