From 6b891f04c3bd16949dffba670a15eebbf3bc00cc Mon Sep 17 00:00:00 2001 From: Baraa Al-Masri Date: Tue, 27 Feb 2024 20:15:35 +0300 Subject: [PATCH] feat(depgraph): update python version --- utils/gentoolkit/depgraph/depgraph.go | 4 ++-- utils/gentoolkit/depgraph/depgraph.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/gentoolkit/depgraph/depgraph.go b/utils/gentoolkit/depgraph/depgraph.go index 2daf1ae..530e2d8 100644 --- a/utils/gentoolkit/depgraph/depgraph.go +++ b/utils/gentoolkit/depgraph/depgraph.go @@ -1,8 +1,8 @@ package depgraph -// ldflags was generated using python3.10-config --ldflags --embed +// ldflags was generated using python3.11-config --ldflags --embed -// #cgo LDFLAGS: -L/usr/lib64 -lpython3.10 -ldl -lm +// #cgo LDFLAGS: -L/usr/lib64 -lpython3.11 -ldl -lm // #include "./depgraph.h" import "C" import ( diff --git a/utils/gentoolkit/depgraph/depgraph.h b/utils/gentoolkit/depgraph/depgraph.h index 2bd7ea3..b7d6b38 100644 --- a/utils/gentoolkit/depgraph/depgraph.h +++ b/utils/gentoolkit/depgraph/depgraph.h @@ -1,9 +1,9 @@ #ifndef DEPGRAPH_GO #define DEPGRAPH_GO -#include -#include +#include #include +#include char **get_pkg_depgraph(const char *pkg_name); void cleanup();