From 34e961cf39e9af93f492f66640739e1c7a1694c8 Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Tue, 13 Apr 2021 22:05:46 +0200 Subject: [PATCH] [pyext] Fix pyext/py2 library (#820) --- pyext/py2/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyext/py2/Makefile.am b/pyext/py2/Makefile.am index c4d97ae3342a..043c7813ce6e 100644 --- a/pyext/py2/Makefile.am +++ b/pyext/py2/Makefile.am @@ -16,7 +16,7 @@ _pysairedis_la_LDFLAGS = -module \ -L$(top_srcdir)/meta/.libs -lsaimetadata -lsaimeta \ -lzmq -_pysairedis_la_LIBADD = $(PYTHON3_BLDLIBRARY) +_pysairedis_la_LIBADD = -lpython$(PYTHON_VERSION) SWIG_FLAG = -Wall -c++ -python -keyword if ARCH64