tools: fix linking error.

Though no error was raised during a native build, a cross-build was
choking on this missing link to libgimpbase and failing.
The error returned by the linker though was a bit amiss.

Fixes:
> gimp-test-clipboard.o: In function `test_clipboard_copy_callback':
> tools/gimp-test-clipboard.c:419: undefined reference to `g_file_get_contents'
> collect2: error: ld returned 1 exit status

(cherry picked from commit 0865e9db1f)
This commit is contained in:
Jehan
2018-08-12 15:12:22 +02:00
parent 04bbe941d5
commit 1461496999

View File

@ -35,7 +35,9 @@ gimptool_@GIMP_TOOL_VERSION@_LDADD = \
gimp_test_clipboard_@GIMP_TOOL_VERSION@_SOURCES = gimp-test-clipboard.c
gimp_test_clipboard_@GIMP_TOOL_VERSION@_LDADD = $(GTK_LIBS)
gimp_test_clipboard_@GIMP_TOOL_VERSION@_LDADD = \
$(libgimpbase) \
$(GTK_LIBS)
kernelgen_SOURCES = kernelgen.c