You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/lensfun-2-pkg-config.patch

29 lines
963 B

This file is part of MXE. See LICENSE.md for licensing information.
From da0bb87d6e520c042f98204c35105bcf4be7ea0f Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Tue, 21 Oct 2014 18:54:03 -0700
Subject: [PATCH] pkgconfig: Explicitly depend on libstdc++
Fixes MinGW static.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
---
libs/lensfun/lensfun.pc.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/lensfun/lensfun.pc.cmake b/libs/lensfun/lensfun.pc.cmake
index 5f91d44..9c291f8 100644
--- a/libs/lensfun/lensfun.pc.cmake
+++ b/libs/lensfun/lensfun.pc.cmake
@@ -10,5 +10,5 @@ Description: A photographic lens database and access library
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_MICRO@.@VERSION_BUGFIX@
Requires.private: glib-2.0
Libs: -L${libdir} -llensfun
-Libs.private: @REGEX_LIBRARIES@
+Libs.private: @REGEX_LIBRARIES@ -lstdc++
Cflags: -I${includedir} -I${includedir}/lensfun
--
1.9.1