$OpenBSD: patch-libgo_Makefile_in,v 1.2 2012/07/01 18:56:45 pascal Exp $ --- libgo/Makefile.in.orig Thu May 24 22:45:16 2012 +++ libgo/Makefile.in Wed Jun 20 14:39:13 2012 @@ -2000,13 +2000,14 @@ libgo_la_LIBADD = \ libgobegin_a_SOURCES = \ runtime/go-main.c +include $(top_srcdir)/../libversions LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) AM_GOCFLAGS = $(STRINGOPS_FLAG) GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS) LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \ $(AM_GOCFLAGS) $(GOCFLAGS) -GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \ +GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) $(LIBgo_LTVERSION) \ $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@