libgimp: fix the build.

Autotools were not able to recognize that libgimp-@GIMP_API_VERSION@.la
and ../libgimp/libgimp-@GIMP_API_VERSION@.la were the same dependency.
Hence with multi-thread builds, GI scanner was not waiting for the lib
to be totally built then failed randomly. Make the path recognizable,
and do the same for libgimpui.
For other libgimp*, I still need to keep a more complicated relative
path, but since libgimp/ is the last processed folder, AFAIK it won't
make problems.
This commit is contained in:
Jehan 2019-08-08 16:40:02 +02:00
parent 2dde79b3e7
commit 376552fbfc
1 changed files with 2 additions and 2 deletions

View File

@ -308,8 +308,8 @@ INTROSPECTION_COMPILER_ARGS = \
INTROSPECTION_SCANNER_ENV = CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)"
Gimp-@GIMP_API_VERSION@.gir: \
../libgimp/libgimp-@GIMP_API_VERSION@.la \
../libgimp/libgimpui-@GIMP_API_VERSION@.la \
libgimp-@GIMP_API_VERSION@.la \
libgimpui-@GIMP_API_VERSION@.la \
../libgimpbase/libgimpbase-@GIMP_API_VERSION@.la \
../libgimpcolor/libgimpcolor-@GIMP_API_VERSION@.la \
../libgimpconfig/libgimpconfig-@GIMP_API_VERSION@.la \