From a196002ea4ce1f61a0234d960298a5513f1654db Mon Sep 17 00:00:00 2001 From: tavit ohanian Date: Sat, 27 Nov 2021 07:12:27 -0500 Subject: [PATCH] provide cgo.opt and vank_go.h as data files during install --- swig/src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swig/src/Makefile b/swig/src/Makefile index 04a11ff..6769aa6 100755 --- a/swig/src/Makefile +++ b/swig/src/Makefile @@ -64,6 +64,8 @@ GOINTERFACES = $(GOSRC) interface/vanktypemaps.i OUTDIRGO=$(OBJ)/go GOLIB=$(OUTDIRGO)/libvank_go$(GO_SO) GOLIBGO=go/vank_go.go +GOLIBGOHDR=go/vank_go.h +GOLIBGOOPT=go/cgo.opt PHPSRC=interface/vank.i PHPINTERFACES = $(PHPSRC) interface/vanktypemaps.i @@ -252,6 +254,8 @@ ifeq ($(WITH_SWIG), 1) ifeq ($(WITH_GO), 1) $(INSTALL_PROGRAM) $(GOLIB) $(libdir) $(INSTALL_DATA) $(GOLIBGO) $(pkgdatadir) + $(INSTALL_DATA) $(GOLIBGOHDR) $(pkgdatadir) + $(INSTALL_DATA) $(GOLIBGOOPT) $(pkgdatadir) endif ifeq ($(WITH_PHP), 1) $(INSTALL_PROGRAM) $(PHPLIB) $(libdir) -- GitLab