liblas (1.2.1-5) noundefined

Summary

 apps/Makefile.am |    2 +-
 src/Makefile.am  |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Index: liblas/src/Makefile.am
===================================================================
--- liblas.orig/src/Makefile.am	2011-05-14 18:24:34.000000000 +0200
+++ liblas/src/Makefile.am	2011-05-14 18:33:50.000000000 +0200
@@ -38,4 +38,5 @@
 liblas_la_SOURCES += gt_wkt_srs.cpp gt_citation.cpp tifvsi.cpp
 endif
             
-liblas_la_LDFLAGS = -version-info 1:0:0
+liblas_la_LDFLAGS = -version-info 1:0:0 -Wl,-no-undefined
+liblas_la_LIBADD = -ltiff
Index: liblas/apps/Makefile.am
===================================================================
--- liblas.orig/apps/Makefile.am	2011-05-14 18:34:15.000000000 +0200
+++ liblas/apps/Makefile.am	2011-05-14 18:36:12.000000000 +0200
@@ -24,4 +24,4 @@
 bin_PROGRAMS += las2ogr
 endif
 
-LDADD = ../src/liblas.la
+LDADD = $(top_builddir)/src/liblas.la