Bug#900054: enabling DLL builds

2018-05-25 Thread Giuseppe Sacco
Hello djcj,
>   
> 
sure, but I have to check if that option would not be a problem on
other platforms. Did you already test it on other platform as well?

Thank you,
Giuseppe

Bug#900054: enabling DLL builds

2018-05-25 Thread djcj

Package: src:libpaper

Version: 1.1.24+nmu5


So this is basically the upstream bug tracker, right? Can you add 
"-no-undefined" to "libpaper_la_LDFLAGS" to make it possible to build 
DLLs using MinGW compilers?



--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -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 = -no-undefined -version-info 2:2:1
 libpaper_la_CPPFLAGS = -D_REENTRANT
 
 BUILT_SOURCES = paperspecs.h