diff options
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |