summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f8959a5b7..30b34d570 100755
--- a/configure
+++ b/configure
@@ -454,7 +454,7 @@ EOF
$flags = getcompilerflags("src/modules/m_".$i.".cpp");
print FILEHANDLE <<EOCHEESE;
m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h
- \$(CC) -I../../include \$(FLAGS) -export-dynamic $flags m_$i.cpp
+ \$(CC) -I../../include \$(FLAGS) $flags -export-dynamic -c m_$i.cpp
\$(CC) \$(FLAGS) -shared $flags -o m_$i.so m_$i.o
cp m_$i.so \$(MODPATH)/
chmod 0700 \$(MODPATH)/m_$i.so