]> git.draconx.ca Git - liblbx.git/blobdiff - src/lbximg.c
lbximg: Make libpng a soft dependency.
[liblbx.git] / src / lbximg.c
index ada16929a32cf400797b089e849c4bdb371eabf0..b2c97f23ea5cd3e74ec7433357661177885c9d37 100644 (file)
@@ -62,7 +62,9 @@ static const struct img_format {
        char name[4];
        bool enabled;
 } formats[] = {
+#if HAVE_LIBPNG
        { img_output_png, "png", 1 },
+#endif
        { img_output_pam, "pam", 1 },
        { img_output_ppm, "ppm", 1 },
        { img_output_pbm, "pbm", 1 },