Skip to content

Commit

Permalink
Fix typo around use of AVOID_VERSION
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jon-turney committed Nov 26, 2023
1 parent 9439c73 commit 1617405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/perl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1617405

Please sign in to comment.