[gimp] app: fix win32 build with Dr. MinGW.



commit ff5587cd534c6096de5887ddd5b9560474aa58d5
Author: Jehan <jehan girinstud io>
Date:   Sun Jun 12 04:04:11 2016 +0200

    app: fix win32 build with Dr. MinGW.
    
    GIMPDIR and GIMP_USER_VERSION macros need to be defined in app/ as well!

 app/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index 2aa0db9..63292ad 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -112,6 +112,8 @@ GIMPCONSOLERC = gimp-console-$(GIMP_APP_VERSION).rc.o
 endif
 
 AM_CPPFLAGS = \
+       -DGIMPDIR=\""$(gimpdir)"\"                              \
+       -DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\"            \
        -DG_LOG_DOMAIN=\"Gimp\"         \
        -DGIMP_APP_GLUE_COMPILATION     \
        -I$(top_srcdir)                 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]