summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 1a0e47181..4eb065f1b 100755
--- a/configure
+++ b/configure
@@ -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