summaryrefslogtreecommitdiff
path: root/src/plugins/python/Makefile.am
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-07-24 14:50:36 -0400
committerSébastien Helleu <flashcode@flashtux.org>2019-07-31 20:45:59 +0200
commitad7d16a5b3b72fd2af2c98535a2358d8eaaf9b74 (patch)
tree298459b7de706a7a2e3415806494b1b20fa9a119 /src/plugins/python/Makefile.am
parentb8d69307eeb792ca0f18e3651f118bfe37cb7ff7 (diff)
downloadweechat-ad7d16a5b3b72fd2af2c98535a2358d8eaaf9b74.zip
build: use pkg-config to properly link python
fixes incorrect (non)detection of libpython3.Ym.so due to PEP 3149 since python's officially exported build flags know how to correctly link to python.
Diffstat (limited to 'src/plugins/python/Makefile.am')
-rw-r--r--src/plugins/python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/Makefile.am b/src/plugins/python/Makefile.am
index 217e8d269..ac8b3adcc 100644
--- a/src/plugins/python/Makefile.am
+++ b/src/plugins/python/Makefile.am
@@ -28,6 +28,6 @@ python_la_SOURCES = weechat-python.c \
weechat-python-api.c \
weechat-python-api.h
python_la_LDFLAGS = -module -no-undefined
-python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
+python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LIBS)
EXTRA_DIST = CMakeLists.txt