components/desktop/pidgin/Makefile
changeset 5937 f38e131c2df4
parent 5916 7e69cc042bec
child 6559 a16b1334b51f
--- a/components/desktop/pidgin/Makefile	Fri May 06 09:33:24 2016 -0700
+++ b/components/desktop/pidgin/Makefile	Thu May 05 18:31:35 2016 -0700
@@ -64,7 +64,10 @@
 # Needed to get libpurple to link properly.
 LIBS += -lresolv
 CONFIGURE_ENV +=	LIBS="$(LIBS)"
-CONFIGURE_ENV +=	PKG_CONFIG_PATH=$(PKG_CONFIG_PATH.64)/gnutls-3
+
+# Look for gnutls-3 pkg-config & libraries before the defaults
+PKG_CONFIG_PATH.64 := $(PKG_CONFIG_PATH.64)/gnutls-3:$(PKG_CONFIG_PATH.64)
+LDFLAGS += -L$(USRLIBDIR64)/gnutls-3
 
 CONFIGURE_ENV += "ac_cv_path_perlpath=$(PERL)"