summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdleyna/renderer/Makefile.am3
-rw-r--r--m4/compiler-flags.m41
2 files changed, 3 insertions, 1 deletions
diff --git a/libdleyna/renderer/Makefile.am b/libdleyna/renderer/Makefile.am
index 26b1cce..ca601c7 100644
--- a/libdleyna/renderer/Makefile.am
+++ b/libdleyna/renderer/Makefile.am
@@ -35,7 +35,8 @@ libdleyna_renderer_1_0_la_LIBADD = $(GLIB_LIBS) \
$(GUPNP_LIBS) \
$(GUPNPAV_LIBS) \
$(GUPNPDLNA_LIBS) \
- $(SOUP_LIBS)
+ $(SOUP_LIBS) \
+ -lm
MAINTAINERCLEANFILES = Makefile.in \
aclocal.m4 \
diff --git a/m4/compiler-flags.m4 b/m4/compiler-flags.m4
index b1b7f1a..7a1853d 100644
--- a/m4/compiler-flags.m4
+++ b/m4/compiler-flags.m4
@@ -52,4 +52,5 @@ AC_DEFUN_ONCE([DLEYNA_SERVER_COMPILER_FLAGS], [
fi
CFLAGS+=" -Wno-format-extra-args"
+ CFLAGS+=" -Wl,--no-undefined"
])