[gimp] libgimpwidgets: missing link library for GetICMProfile() on Win32.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: missing link library for GetICMProfile() on Win32.
- Date: Tue, 29 Dec 2015 17:46:28 +0000 (UTC)
commit da1b4dac42648cde3467d02fadde93695b8ce073
Author: Jehan <jehan girinstud io>
Date: Tue Dec 29 18:43:41 2015 +0100
libgimpwidgets: missing link library for GetICMProfile() on Win32.
This function is available in gdi32 library.
https://msdn.microsoft.com/en-us/library/windows/desktop/dd316948%28v=vs.85%29.aspx
libgimpwidgets/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am
index 3ace066..f15900f 100644
--- a/libgimpwidgets/Makefile.am
+++ b/libgimpwidgets/Makefile.am
@@ -9,6 +9,7 @@ no_undefined = -no-undefined
endif
if PLATFORM_WIN32
+libgdi32 = -lgdi32
else
libm = -lm
endif
@@ -274,7 +275,8 @@ libgimpwidgets_ GIMP_API_VERSION@_la_LIBADD = \
$(GEGL_LIBS) \
$(GTK_LIBS) \
$(LCMS_LIBS) \
- $(libm)
+ $(libm) \
+ $(libgdi32)
EXTRA_DIST = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]