Fix pthread linkage.

This commit is contained in:
joerg 2006-03-28 16:42:50 +00:00
parent 5a81629108
commit 5f49d5174a
2 changed files with 20 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.11 2006/03/16 14:04:58 joerg Exp $
$NetBSD: distinfo,v 1.12 2006/03/28 16:42:50 joerg Exp $
SHA1 (libextractor-0.5.10.tar.gz) = 3c8cb7390176cb16afb92f0d68a185f69b8922a2
RMD160 (libextractor-0.5.10.tar.gz) = f2bb561876c4ed6681df416c97e625f385e1f641
@ -6,3 +6,4 @@ Size (libextractor-0.5.10.tar.gz) = 6149272 bytes
SHA1 (patch-aa) = f0923e6cba8e6bb327a7959a3d7679bb78a530b2
SHA1 (patch-ab) = f8f12217898b1c8f68f7f2280f59b7dcabdfb9d2
SHA1 (patch-ac) = 0eec20698da281f26ed6077fefb0f49d4e5e3cdf
SHA1 (patch-ad) = c2f06a76b373473584a27745a35f294bf2201f41

View file

@ -0,0 +1,18 @@
$NetBSD: patch-ad,v 1.5 2006/03/28 16:42:50 joerg Exp $
--- src/plugins/exiv2/Makefile.in.orig 2006-03-28 16:17:07.000000000 +0000
+++ src/plugins/exiv2/Makefile.in
@@ -275,11 +275,11 @@ libextractor_exiv2_la_LINK = \
/bin/sh ../../../libtool --mode=link $(CXXLD) -o libextractor_exiv2.la
libextractor_exiv2_la_LDFLAGS = \
- $(XTRA_CPPLIBS) -lpthread \
+ $(XTRA_CPPLIBS) ${PTHREAD_LDFLAGS} \
$(PLUGINFLAGS) $(retaincommand)
libextractor_exiv2_la_LIBADD = \
- $(top_builddir)/src/main/libextractor.la -lpthread
+ $(top_builddir)/src/main/libextractor.la ${PTHREAD_LIBS}
libextractor_exiv2_la_SOURCES = \
exiv2extractor.cc exv_conf.h exv_msvc.h \