summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-22 15:12:58 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-22 15:12:58 +0000
commitaef2031c6bb2c0e6feb5ec21786b4b25a4f8468b (patch)
treea7fe07d8191073609ce44c9223dbdbd78c0bd1e5 /configure
parent8691870bf726a898b11cc4173e42db5b6f597cf3 (diff)
Fix this from an experiment I was playing with :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8301 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 12a3b9170..d538c1b33 100755
--- a/configure
+++ b/configure
@@ -1627,7 +1627,8 @@ ITEM
foreach my $cmd (@cmdlist) {
print FH <<ITEM;
cmd_$cmd.so: cmd_$cmd.cpp ../../include/base.h ../../include/modules.h ../../include/inspircd.h ../../include/channels.h ../../include/users.h ../../include/globals.h ../../include/inspircd_config.h ../../include/commands/cmd_$cmd.h
- \$(CC) -pipe -I../../include \$(FLAGS) -export-dynamic $SHARED -o cmd_$cmd.so
+ \$(CC) -pipe -I../../include \$(FLAGS) -export-dynamic -c cmd_$cmd.cpp
+ \$(CC) -pipe $SHARED -o cmd_$cmd.so cmd_$cmd.o
ITEM
}