aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/pkg-config.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/pkg-config.go')
-rw-r--r--internal/rosa/pkg-config.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/rosa/pkg-config.go b/internal/rosa/pkg-config.go
index c5c0814a..32eb1363 100644
--- a/internal/rosa/pkg-config.go
+++ b/internal/rosa/pkg-config.go
@@ -7,13 +7,12 @@ func (t Toolchain) newPkgConfig() pkg.Artifact {
version = "0.29.2"
checksum = "gi7yAvkwo20Inys1tHbeYZ3Wjdm5VPkrnO0Q6_QZPCAwa1zrA8F4a63cdZDd-717"
)
- return t.NewViaMake("pkg-config", version, pkg.NewHTTPGetTar(
- nil,
- "https://pkgconfig.freedesktop.org/releases/"+
+ return t.NewPackage("pkg-config", version, pkg.NewHTTPGetTar(
+ nil, "https://pkgconfig.freedesktop.org/releases/"+
"pkg-config-"+version+".tar.gz",
mustDecode(checksum),
pkg.TarGzip,
- ), &MakeAttr{
+ ), nil, &MakeHelper{
Configure: [][2]string{
{"CFLAGS", "'-Wno-int-conversion'"},
{"with-internal-glib"},