Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -464,10 +464,12 @@ build_framework="yes" ]) BUILDSYS_BUNDLE([ AC_SUBST(TESTPLUGIN_BUNDLE, "TestPlugin.bundle") + ], [ + AC_SUBST(TESTPLUGIN_PLUGIN, 'TestPlugin${PLUGIN_SUFFIX}') ]) ], [ AC_DEFINE(OF_NO_SHARED, 1, [Whether no shared library was built]) AC_SUBST(LIBOBJFW_DEP, "../src/libobjfw.a") AC_SUBST(LIBOBJFW_DEP_LVL2, "../../src/libobjfw.a") Index: extra.mk.in ================================================================== --- extra.mk.in +++ extra.mk.in @@ -88,10 +88,11 @@ RUNTIME_LIBS = @RUNTIME_LIBS@ SUBPROCESS = @SUBPROCESS@ TESTPLUGIN = @TESTPLUGIN@ TESTPLUGIN_BUNDLE = @TESTPLUGIN_BUNDLE@ TESTPLUGIN_LIBS = @TESTPLUGIN_LIBS@ +TESTPLUGIN_PLUGIN = @TESTPLUGIN_PLUGIN@ TESTS_LIBS = @TESTS_LIBS@ TESTS_STATIC_LIB = @TESTS_STATIC_LIB@ TLS = @TLS@ TLS_CPPFLAGS = @TLS_CPPFLAGS@ TLS_LIBS = @TLS_LIBS@ Index: tests/plugin/Makefile ================================================================== --- tests/plugin/Makefile +++ tests/plugin/Makefile @@ -1,10 +1,10 @@ include ../../extra.mk DISTCLEAN = Info.plist -PLUGIN_NOINST = TestPlugin${PLUGIN_SUFFIX} +PLUGIN_NOINST = ${TESTPLUGIN_PLUGIN} BUNDLE_NOINST = ${TESTPLUGIN_BUNDLE} SRCS = TestPlugin.m include ../../buildsys.mk