unit-tests: Make sure plugins in the builddir are loaded
[strongswan.git] / src / libtls / tests / Makefile.am
index 1c0e2f9..456383f 100644 (file)
@@ -11,7 +11,7 @@ tls_tests_CFLAGS = \
        -I$(top_srcdir)/src/libtls \
        -I$(top_srcdir)/src/libstrongswan \
        -I$(top_srcdir)/src/libstrongswan/tests \
-       -DPLUGINDIR=\""$(top_builddir)/src/libstrongswan/plugins\"" \
+       -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
        -DPLUGINS=\""${s_plugins}\"" \
        @COVERAGE_CFLAGS@