diff options
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1087,7 +1087,7 @@ sub write_dynamic_modules_makefile { # for assisting with making this work right. # # Automatically Generated by ./configure to add a modules -# please run ./configure --update +# please run ./configure -update or ./configure -modupdate all: \$(MODULES) @@ -1105,6 +1105,8 @@ foreach $i (@modlist) { ### # Write Entry to the MakeFile ### + $cmflags = getcompilerflags("src/modules/m_".$i.".cpp"); + $liflags = getlinkerflags("src/modules/m_".$i.".cpp"); print FILEHANDLE <<EOCHEESE; m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h ../../include/inspircd_config.h ../../include/inspircd.h ../../include/inspircd_io.h \$(CC) -pipe -I../../include \$(FLAGS) $cmflags -export-dynamic -c m_$i.cpp |