summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Monnerat <[email protected]>2019-01-19 01:10:01 +0100
committerVictor Kareh <[email protected]>2019-01-30 15:59:28 -0500
commitef861e9a5a48a3df18b11871fa317343fa578ad4 (patch)
tree61cbf246af3c092ca16ccf33b8e6e69321b161f5 /src
parent6447d7c97a71521f2cdc0765a81c20aec8b90e04 (diff)
downloadpython-caja-ef861e9a5a48a3df18b11871fa317343fa578ad4.tar.bz2
python-caja-ef861e9a5a48a3df18b11871fa317343fa578ad4.tar.xz
Fail to build if some referenced symbol cannot be resolved at link time.
This also requires to link with the gmodule library.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index dd37d15..4203367 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,5 +24,5 @@ libcaja_python_la_CFLAGS = \
$(CAJA_PYTHON_CFLAGS) \
$(AM_CFLAGS)
-libcaja_python_la_LDFLAGS = -module -avoid-version
+libcaja_python_la_LDFLAGS = -module -avoid-version -Wl,-z,defs
libcaja_python_la_LIBADD = $(PYTHON_LIBS) $(CAJA_PYTHON_LIBS)