Skip to content

Commit

Permalink
feat(depgraph): update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed Feb 27, 2024
1 parent 33b4b97 commit 6b891f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions utils/gentoolkit/depgraph/depgraph.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions utils/gentoolkit/depgraph/depgraph.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef DEPGRAPH_GO
#define DEPGRAPH_GO

#include <python3.10/Python.h>
#include <string.h>
#include <python3.11/Python.h>
#include <stdlib.h>
#include <string.h>

char **get_pkg_depgraph(const char *pkg_name);
void cleanup();
Expand Down

0 comments on commit 6b891f0

Please sign in to comment.