libebml: fix libebml.la for all archies other than x86_gcc2. (#667)
libebml: fix libebml.la for all archies other than x86_gcc2. (#667)

* On all architectures other than x86_gcc2 the generated definition
  of dependency_libs in libebml.la includes a path to libstdc++.la
  that hard-codes the full version of the gcc package being used to
  build libebml. Keeping that path unchanged would result in a hidden
  dependency of libebml_devel on a specific revision of the gcc pkg.
  So fix that path using a package-links dir that starts with e.g.
  /packages/libebml_x86_devel-*/gcc_x86/develop/tools/x86/lib/gcc/...
* Add gcc$secondaryArchSuffix to REQUIRES_devel when building for an
  architecture other than x86_gcc2 because libebml.la needs it.
* Add TEST() with "make check".
moochris/haikuports,Begasus/haikuports,haikuports/haikuports,nielx/haikuports,haikuports/haikuports,haikuports/haikuports,Begasus/haikuports,haikuports/haikuports,koletzky/haikuports,moochris/haikuports,nielx/haikuports,moochris/haikuports,miqlas/haikuports,koletzky/haikuports,Begasus/haikuports,koletzky/haikuports,Begasus/haikuports,miqlas/haikuports,miqlas/haikuports,Begasus/haikuports,nielx/haikuports,haikuports/haikuports