check-exports: Don't include the distcheck build directory if it's not our $(top_buil...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 7 Mar 2009 10:40:22 +0000 (11:40 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 7 Mar 2009 10:40:22 +0000 (11:40 +0100)
win32.mak

index c66a199237e7404ff2481581cf42c7a3ee68a8e9..e5192b951db565df7d86086b5406bb6be69b8b13 100644 (file)
--- a/win32.mak
+++ b/win32.mak
@@ -38,7 +38,7 @@ check-exports:
        fail=0 ; \
        for l in $(win32defs); do \
          libbase=`basename "$$l" ".def"`; \
-         libso=`find "$(top_builddir)" -name "$$libbase-@GST_MAJORMINOR@.so"`; \
+         libso=`find "$(top_builddir)" -name "$$libbase-@GST_MAJORMINOR@.so" | grep -v /_build/ | head -n1`; \
          libdef="$(top_srcdir)/win32/common/$$libbase.def"; \
          if test "x$$libso" != "x"; then \
            echo Checking symbols in $$libso; \