$OpenBSD: patch-src_Makefile_in,v 1.6 2012/06/30 00:41:20 steven Exp $ --- src/Makefile.in.orig Sat Aug 27 17:27:38 2011 +++ src/Makefile.in Sat Jun 30 02:21:36 2012 @@ -372,7 +372,7 @@ libp2edrvstd_la_SOURCES = \ $(sample_drivers_src) libp2edrvstd_la_LIBADD = libpstoedit.la -libp2edrvstd_la_LDFLAGS = -no-undefined -module +libp2edrvstd_la_LDFLAGS = -no-undefined -module -avoid-version #libp2edrvplugins_la_SOURCES=drvmif.cpp drvcgm.cpp drvrtf.cpp drvwwmf.cpp #libp2edrvplugins_la_LIBADD= @@ -388,7 +388,7 @@ libp2edrvswf_la_LDFLAGS = -no-undefined -module # note the __ stand for ++ - automake treats all no alphanums chars as _ libp2edrvmagick___la_SOURCES = drvmagick++.cpp drvmagick++.h initlibrary.cpp libp2edrvmagick___la_LIBADD = ${LIBMAGICK_LDFLAGS} libpstoedit.la -libp2edrvmagick___la_LDFLAGS = -no-undefined -module +libp2edrvmagick___la_LDFLAGS = -no-undefined -module -avoid-version @USE_EMFBYSOURCE_FALSE@libp2edrvwmf_la_SOURCES = drvwmf.cpp drvwmf.h initlibrary.cpp # moved to configure.ac because needed only for g++ libp2edrvmagick___la_CPPFLAGS=$(LIBMAGICK_CFLAGS) $(AM_CPPFLAGS) -Wno-long-long @USE_EMFBYSOURCE_TRUE@libp2edrvwmf_la_SOURCES = emflib.cpp drvwmf.cpp drvwmf.h initlibrary.cpp @@ -412,7 +412,7 @@ libpstoedit_la_SOURCES = \ genericints.h \ version.h -libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm +libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -lm libpstoedit_la_LDFLAGS = -no-undefined pstoedit_SOURCES = cmdmain.cpp pstoedit_LDADD = libpstoedit.la ${LIBLD_LDFLAGS}