path: root/xlators/features/glupy/src
diff options
authorNiels de Vos <>2018-08-09 15:52:19 +0200
committerAmar Tumballi <>2018-08-30 05:41:26 +0000
commit44e40404ed1223ba9ccb879373da38efd5ba403c (patch)
treedcf7abb412ee5ad2280ede11872ce96ea36f1ac9 /xlators/features/glupy/src
parentd27e8870c1882b1abfffefaf7b40bc7f2a1ec05f (diff)
build: add --enable-asan configure options
Introduce a `./configure --enable-asan` to build with `-fsanitize=address -fno-omit-frame-pointer` options. This uses the shared library, so that needs to be available. While running builds with the ASAN options, several linker issues surfaced and these have been addressed with this change as well. Building with --enable-asan has been tested on Fedora 28. Change-Id: I428a9da70dd8f7d0056cfbe5c398619a571469b2 Updates: #492 Signed-off-by: Niels de Vos <>
Diffstat (limited to 'xlators/features/glupy/src')
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/glupy/src/ b/xlators/features/glupy/src/
index 1fadbe3e68d..b5d1c964432 100644
--- a/xlators/features/glupy/src/
+++ b/xlators/features/glupy/src/
@@ -21,7 +21,7 @@ glupy_la_LDFLAGS = $(PYTHONDEV_LDFLAGS) -module -avoid-version -nostartfiles \
glupy_la_SOURCES = glupy.c
glupy_la_LIBADD = $(top_builddir)/libglusterfs/src/ \
- -lpthread -l$(BUILD_PYTHON_LIB)
+ -lpthread -l$(BUILD_PYTHON_LIB) $(LIB_DL)
noinst_HEADERS = glupy.h