]> git.pld-linux.org Git - packages/db.git/commitdiff
- added -lpthread (nptl). it seems to work.
authorPaweł Sikora <pluto@pld-linux.org>
Tue, 3 Feb 2004 16:09:46 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db.spec -> 1.41

db.spec

diff --git a/db.spec b/db.spec
index 961894aee7c18a75d226d1041f72774d09c1b637..de0b46f013da4ee19dc6c71a83bc7c24671399c1 100644 (file)
--- a/db.spec
+++ b/db.spec
@@ -225,7 +225,8 @@ CC="%{__cc}"
 CXX="%{__cxx}"
 CFLAGS="%{rpmcflags}"
 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
-export CC CXX CFLAGS CXXFLAGS
+LDFLAGS="%{rpmldflags} %{?with_nptl:-lpthread}"
+export CC CXX CFLAGS CXXFLAGS LDFLAGS
 
 ../dist/%configure \
        --enable-compat185 \
This page took 0.060903 seconds and 4 git commands to generate.