]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
authconfig: Add LDFLAGS to link against -lresolv.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 22 Apr 2012 17:21:48 +0000 (19:21 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 22 Apr 2012 17:21:48 +0000 (19:21 +0200)
The python module had unresolved symbols which are provided from
libresolv.so.2 from the glibc package but hasn't been linked against it.

So we have to do the correct linking manually.

Fixes #10099.

authconfig/authconfig.nm

index 2bb161a44cddc8ec52e4eebb32694f5d7607df08..e23aa668922cf7f1079b560486b68b304260818b 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = authconfig
 version    = 6.2.2
-release    = 1
+release    = 2
 
 groups     = System/Base
 url        = https://fedorahosted.org/authconfig
@@ -28,6 +28,9 @@ build
                python-devel
        end
 
+       # Manually link against libresolv.
+       export LDFLAGS += -lresolv
+
        configure_options += \
                --sysconfdir=/etc \
                --localstatedir=/var \