From 5e317b150f002a32e8819748de525e8be15cd9f0 Mon Sep 17 00:00:00 2001 From: Hua Liu <58683130+liuh-80@users.noreply.github.com> Date: Thu, 7 Sep 2023 14:12:43 +0800 Subject: [PATCH] Update Makefile.am --- pyext/py2/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyext/py2/Makefile.am b/pyext/py2/Makefile.am index 2e69dcd4..ae32dadd 100644 --- a/pyext/py2/Makefile.am +++ b/pyext/py2/Makefile.am @@ -2,8 +2,8 @@ pkgpython_PYTHON = pyext/py2/swsscommon.py pyext/py2/__init__.py pkgpyexec_LTLIBRARIES = pyext/py2/_swsscommon.la pyext_py2__swsscommon_la_SOURCES = pyext/py2/swsscommon_wrap.cpp -pyext_py2__swsscommon_la_CPPFLAGS = -std=c++11 -Icommon -I/usr/include/python$(PYTHON_VERSION) -pyext_py2__swsscommon_la_LDFLAGS = -module +pyext_py2__swsscommon_la_CPPFLAGS = -std=c++11 -Icommon -I/usr/include/python$(PYTHON_VERSION) -fstack-protector-strong +pyext_py2__swsscommon_la_LDFLAGS = -module -z now pyext_py2__swsscommon_la_LIBADD = common/libswsscommon.la -lpython$(PYTHON_VERSION) pyext/py2/swsscommon_wrap.cpp: $(SWIG_SOURCES)