Commits

Anonymous committed e39a1ff

Fixes for mingw build.

  • Participants
  • Parent commits 2ac3b67

Comments (0)

Files changed (1)

 
     opt.includes += extra_includes + [libpng_root] + z.includes
     opt.sources += libpng_root/'*.c'
-    opt.sources -= [libpng_root/'example.c']
+    opt.sources -= [libpng_root/'example.c', libpng_root/'pngtest.c']
 
     return properties(
-        libs = [lang_kit.lib('png', opt)] + z.libs,
+        libs = z.libs + [lang_kit.lib('png', opt)],
         syslibs = z.syslibs,
         includes = extra_includes + [libpng_root] + z.includes
     )
     opt.defines += defines
 
     return properties(
-        libs = [kit.cpp.lib('pngxx', opt)] + imagexx.libs + png.libs,
-        syslibs = imagexx.syslibs + png.syslibs,
+        libs = png.libs + imagexx.libs + [kit.cpp.lib('pngxx', opt)],
+        syslibs = png.syslibs + imagexx.syslibs,
         includes = [here/'include'] + imagexx.includes
     )