fixed some build dependency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-03 22:48:03 +09:00
parent 428f67f25c
commit b913ab5403
3 changed files with 4 additions and 5 deletions

View File

@ -372,7 +372,7 @@ DIST_SUBDIRS = $(SUBDIRS)
@ENABLE_HCLGO_TRUE@ go.mod
@ENABLE_HCLGO_TRUE@hclgo_DEPENDENCIES = hclgo.bin
@ENABLE_HCLGO_TRUE@hclgo_LINK = mv -f hclgo.bin hclgo$(EXEEXT) || echo "FAILED TO LINK"
@ENABLE_HCLGO_TRUE@hclgo_LINK = cp -pf hclgo.bin hclgo$(EXEEXT) || echo "FAILED TO LINK"
all: all-recursive
.SUFFIXES:
@ -937,7 +937,7 @@ distclean-local:
clean-local:
rm -rf $(builddir)/go.mod $(builddir)/go.sum
@ENABLE_HCLGO_TRUE@hclgo.bin: lib/libhcl.la
@ENABLE_HCLGO_TRUE@hclgo.bin: lib/libhcl.la $(hclgo_OBJECTS)
@ENABLE_HCLGO_TRUE@ cp -pf $(srcdir)/go.mod $(builddir)/go.mod >/dev/null 2>&1 || true
@ENABLE_HCLGO_TRUE@ chmod u+w $(builddir)/go.mod ## with `make distcheck`, the echo's redirection to the file fails without this permission change
@ENABLE_HCLGO_TRUE@ sed -r -i -e "/^[[:space:]]*replace[[:space:]]+cfg[[:space:]]*=>/d" $(builddir)/go.mod