Commit d0c376fe authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

make jpeg_utils optional instead of mandatory.

parent 64b30d97
......@@ -4,4 +4,4 @@ Hidden=true
[Loader]
Type=module
File=%LIBRARY%
Requires=jpeg_utils
After=jpeg_utils
......@@ -17,6 +17,9 @@ libimage_viewer_la_SOURCES = \
libimage_viewer_la_CFLAGS = $(GTHUMB_CFLAGS) -I$(top_srcdir) -I$(top_builddir)/gthumb
libimage_viewer_la_LDFLAGS = $(EXTENSION_LIBTOOL_FLAGS)
libimage_viewer_la_LIBADD = $(GTHUMB_LIBS)
if ENABLE_JPEG_TOOLS
libimage_viewer_la_LIBADD += ../jpeg_utils/libjpeg_utils.la
endif
libimage_viewer_la_DEPENDENCIES = $(top_builddir)/gthumb/gthumb$(EXEEXT)
extensioninidir = $(extensiondir)
......
......@@ -8,6 +8,6 @@ Icon=image-x-generic
Category=Viewer
[Loader]
After=file_viewer
After=file_viewer;jpeg_utils
Type=module
File=%LIBRARY%
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment