From: Stefan Schantl Date: Sun, 22 Apr 2012 17:21:48 +0000 (+0200) Subject: authconfig: Add LDFLAGS to link against -lresolv. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d794248f91d5238aaf9bc06f63aa275449b0e52;p=ipfire-3.x.git authconfig: Add LDFLAGS to link against -lresolv. 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. --- diff --git a/authconfig/authconfig.nm b/authconfig/authconfig.nm index 2bb161a44..e23aa6689 100644 --- a/authconfig/authconfig.nm +++ b/authconfig/authconfig.nm @@ -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 \