diff --git a/config.d/build_control.m4 b/config.d/build_control.m4 index 615614026..7de8c42fd 100644 --- a/config.d/build_control.m4 +++ b/config.d/build_control.m4 @@ -445,14 +445,10 @@ if test "x$static_plugins" = xyes; then SOUND_TYPES="$SOUND_TYPES (static)" CDTYPE="$CDTYPE (static)" fi - plugin_ldflags="$plugin_ldflags" -else - plugin_ldflags="$plugin_ldflags" fi dnl Do not use -module here, it belongs in makefile.am due to automake dnl needing it there to work correctly -plugin_ldflags="$plugin_ldflags" SERVER_PLUGIN_STATIC_LIBS="" CLIENT_PLUGIN_STATIC_LIBS="" CD_PLUGIN_STATIC_LIBS="" @@ -538,8 +534,6 @@ AC_SUBST(VID_MODEL_TARGETS) AC_SUBST(VID_REND_TARGETS) AC_SUBST(VID_REND_NOINST_TARGETS) AC_SUBST(VID_TARGETS) -AC_SUBST(plugin_ldflags) -AC_SUBST(plugin_libadd) QF_DEPS(BSP2IMG, [], diff --git a/config.d/compiling.m4 b/config.d/compiling.m4 index 3b5abd9d3..b0464a254 100644 --- a/config.d/compiling.m4 +++ b/config.d/compiling.m4 @@ -253,6 +253,8 @@ AC_SUBST(AS) AC_SUBST(ASFLAGS) AC_SUBST(CCAS) AC_SUBST(CCASFLAGS) +AC_SUBST(plugin_ldflags) +AC_SUBST(plugin_libadd) dnl Finalization of CFLAGS, LDFLAGS, and LIBS AC_SUBST(CFLAGS)