summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index f0881ee4c..f8959a5b7 100755
--- a/configure
+++ b/configure
@@ -454,9 +454,10 @@ 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) -shared $flags -o m_$i.so m_$i.cpp
- \@cp m_$i.so \$(MODPATH)/
- \@chmod 0700 \$(MODPATH)/m_$i.so
+ \$(CC) -I../../include \$(FLAGS) -export-dynamic $flags 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
EOCHEESE
}