diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-24 14:31:15 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-24 14:31:15 +0000 |
commit | 2aca48ec49c9ef598fa4f177ee2cb2dd96ab7f3c (patch) | |
tree | 989b3323435654ac090a782a88807857751916b9 | |
parent | 2dca25b85b6e25e28fe8f1bdc705fda77c6c28e4 (diff) |
Make cmd_*.cpp build to a .so in one step, no intermediate .o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9015 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1715,17 +1715,10 @@ 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 - \@../../make/run-cc.pl \$(CC) -pipe -I../../include \$(FLAGS) -export-dynamic -c cmd_$cmd.cpp - \@../../make/run-cc.pl \$(CC) -pipe $SHARED -o cmd_$cmd.so cmd_$cmd.o + \@../../make/run-cc.pl \$(CC) -pipe -I../../include \$(FLAGS) -export-dynamic $SHARED -o cmd_$cmd.so cmd_$cmd.cpp ITEM } -#try build a .so, no intermediate .o -# @../../make/run-cc.pl \$(CC) -pipe -I../../include \$(FLAGS) -export-dynamic $SHARED -o cmd_$cmd.so - -#this works for sure -# @../../make/run-cc.pl \$(CC) -pipe -I../../include \$(FLAGS) -export-dynamic -c cmd_$cmd.cpp -# @../../make/run-cc.pl \$(CC) -pipe $SHARED -o cmd_$cmd.so cmd_$cmd.o } # Routine to list out the extra/ modules that have been enabled. |