]> git.pld-linux.org Git - packages/db4.2.git/blobdiff - db4.2.spec
- added -lpthread (nptl). it seems to work.
[packages/db4.2.git] / db4.2.spec
index 961894aee7c18a75d226d1041f72774d09c1b637..de0b46f013da4ee19dc6c71a83bc7c24671399c1 100644 (file)
@@ -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.036103 seconds and 4 git commands to generate.