mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
b843090e20
ld: error: .libs/wmf.o: unable to find library from dependent library specifier: gdi32 Reported by: antoine (via bug 240629 exp-run) Regressed by: https://reviews.llvm.org/rL360984
16 lines
333 B
C++
16 lines
333 B
C++
https://gitlab.gnome.org/GNOME/dia/commit/5cb4adf2d2c5
|
|
|
|
--- plug-ins/wmf/wmf.cpp.orig 2014-08-24 15:46:01 UTC
|
|
+++ plug-ins/wmf/wmf.cpp
|
|
@@ -61,8 +61,10 @@ typedef W32::LOGFONTW LOGFONTW;
|
|
# define SAVE_EMF
|
|
#endif
|
|
|
|
+#ifdef G_OS_WIN32
|
|
/* force linking with gdi32 */
|
|
#pragma comment( lib, "gdi32" )
|
|
+#endif
|
|
|
|
|
|
// #define SAVE_EMF
|