Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make evmc work with go mod #161

Merged
merged 1 commit into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion evmc/bindings/go/evmc/evmc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package evmc

/*
#cgo CFLAGS: -I${SRCDIR}/.. -Wall -Wextra
#cgo CFLAGS: -I${SRCDIR}/../../../include -Wall -Wextra
#cgo !windows LDFLAGS: -ldl

#include <evmc/evmc.h>
Expand Down
1 change: 0 additions & 1 deletion evmc/bindings/go/evmc/evmc.h

This file was deleted.

1 change: 0 additions & 1 deletion evmc/bindings/go/evmc/helpers.h

This file was deleted.

2 changes: 1 addition & 1 deletion evmc/bindings/go/evmc/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package evmc

/*
#cgo CFLAGS: -I${SRCDIR}/.. -Wall -Wextra -Wno-unused-parameter
#cgo CFLAGS: -I${SRCDIR}/../../../include -Wall -Wextra -Wno-unused-parameter

#include <evmc/evmc.h>
#include <evmc/helpers.h>
Expand Down
1 change: 0 additions & 1 deletion evmc/bindings/go/evmc/loader.c

This file was deleted.

4 changes: 4 additions & 0 deletions evmc/bindings/go/evmc/loader.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Include evmc::loader in the Go package.
* The "go build" builds all additional C/C++ files in the Go package directory,
* but symbolic links are ignored so #include is used instead. */
#include "../../../lib/loader/loader.c"
1 change: 0 additions & 1 deletion evmc/bindings/go/evmc/loader.h

This file was deleted.