--- libpaper-1.1.24+nmu5/lib/Makefile.am.orig	2018-05-18 09:55:51.970865200 +0300
+++ libpaper-1.1.24+nmu5/lib/Makefile.am	2018-05-18 09:55:59.630478700 +0300
@@ -1,7 +1,7 @@
 
 lib_LTLIBRARIES = libpaper.la
 libpaper_la_SOURCES = dimen.c paper.c dimen.h paperspecs.h
-libpaper_la_LDFLAGS = -version-info 2:2:1
+libpaper_la_LDFLAGS = -version-info 2:2:1 -no-undefined
 libpaper_la_CPPFLAGS = -D_REENTRANT
 
 BUILT_SOURCES = paperspecs.h
