Skip to content

Commit

Permalink
fix: pkg-config apt dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ScmTble authored and ScmTble committed Sep 17, 2023
1 parent 6dafc9f commit d7d28d4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/python/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ func determineInstallCmd(ctx *pythonPlanContext) string {
}

func determineAptDependencies(ctx *pythonPlanContext) []string {
deps := []string{"build-essential"}
deps := []string{"build-essential", "pkg-config"}

// If we need to host static files, we need nginx.
staticPath := DetermineStaticInfo(ctx)
Expand All @@ -494,10 +494,6 @@ func determineAptDependencies(ctx *pythonPlanContext) []string {
deps = append(deps, "g++-7")
}

if HasDependency(ctx, "flask_sqlalchemy") {
deps = append(deps, "pkg-config")
}

return deps
}

Expand Down

0 comments on commit d7d28d4

Please sign in to comment.