From 96fba323b95702331a34fbca356127e17f43a2d7 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Fri, 20 Mar 2020 11:59:58 +0100
Subject: [PATCH] meson: Fix linking issue of libfprint with newer gcc

It appears the order of linking is relevant in this case, change it to
fix some linking issues.

It may be that there are better solutions to this problem.
---
 libfprint/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libfprint/meson.build b/libfprint/meson.build
index f2c5f06..a7aa3d6 100644
--- a/libfprint/meson.build
+++ b/libfprint/meson.build
@@ -259,7 +259,7 @@ libfprint = library(versioned_libname.split('lib')[1],
     version: libversion,
     link_args : vflag,
     link_depends : mapfile,
-    link_with: [libfprint_private, libfprint_drivers],
+    link_with: [libfprint_drivers, libfprint_private],
     dependencies: deps,
     install: true)