check: add dependency on gstcheck header files for exports.sym
authorTim-Philipp Müller <tim@centricular.net>
Tue, 13 Nov 2012 21:29:01 +0000 (21:29 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 13 Nov 2012 21:46:32 +0000 (21:46 +0000)
So exports.sym gets updated correctly, and our new symbols get
exported correctly, which makes g-ir-scanner much happier in
terms of linking.

https://bugzilla.gnome.org/show_bug.cgi?id=683012

libs/gst/check/Makefile.am

index d4a1c2b..03fab2a 100644 (file)
@@ -108,7 +108,7 @@ print-check-symbols:
          echo $$s; \
        done;
 
-$(SYMBOLS_FILE):
+$(SYMBOLS_FILE): $(libgstcheck_@GST_API_VERSION@include_HEADERS) libcheck/check.h
        $(AM_V_GEN)rm -f $(SYMBOLS_FILE) 2>/dev/null; \
        for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $(CHECK_SYMS); do \
          echo $$s >> $(SYMBOLS_FILE); \