From 161740531e67dfe76e9f758ed7c336d4d0dedf69 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 26 Nov 2023 12:50:06 +0000 Subject: [PATCH] Fix typo around use of AVOID_VERSION Fix typo in d4cc201e, which places $(AVOID_VERSION) between '-version-info' and '@VERSION_INFO@', leading to: libtool: error: CURRENT '-avoid-version' must be a nonnegative integer libtool: error: '-avoid-version' is not valid version information on those platforms where it's defined. --- bindings/perl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/perl/Makefile.am b/bindings/perl/Makefile.am index 8f430dafc4..cfe16db109 100644 --- a/bindings/perl/Makefile.am +++ b/bindings/perl/Makefile.am @@ -52,7 +52,7 @@ if OS_NETBSD AVOID_VERSION = -avoid-version endif -clinkgrammar_la_LDFLAGS = -version-info $(AVOID_VERSION) @VERSION_INFO@ \ +clinkgrammar_la_LDFLAGS = -version-info @VERSION_INFO@ $(AVOID_VERSION)\ $(PERL_LDFLAGS) -module -no-undefined clinkgrammar_la_LIBADD = $(top_builddir)/link-grammar/liblink-grammar.la