diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-09 03:48:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-09 03:48:54 +0000 |
commit | 19f306c72c5bec96ade6099b6febea1e288f6c44 (patch) | |
tree | 13090556e8eb538bd9a3446684efec4b36e5ce8f | |
parent | 141467d8703fd1e887d8509d0b61ad798d36a205 (diff) |
New way of building modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1340 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 } |