diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-18 18:20:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-18 18:20:12 +0000 |
commit | d54b66a414b8d9450119d7dd1111fb9b498d1ba4 (patch) | |
tree | dfc58b89156766efcd3cc5417c5eb6346d78a4aa | |
parent | 80d6a2f994ccf5742897f7e53c0413699e36e300 (diff) |
why wont this fucking thing find the includes?!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6376 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1264,18 +1264,18 @@ EOCHEESE $liflags = getlinkerflags("src/modules/$name/$fname"); $deps = getdependencies("src/modules/$name/$fname"); print FILEHANDLE " $name/$fname"; - $crapola = $crapola . " \$(CC) -pipe -I../../include \$(FLAGS) $cmflags -export-dynamic -c $name/$fname\n"; + $crapola = $crapola . " \$(CC) -pipe -I../../include \$(FLAGS) $cmflags -export-dynamic -c $name/$fname\n"; $oname = $fname; $oname =~ s/\.cpp$/.o/g; $crap2 = $crap2 . " $oname"; - $crap3 = $crap3 . " $name/$fname"; + $crap3 = $crap3 . " $name/$oname"; $i++; } } print "(\033[1;32m$i files found\033[0m)\n"; - print FILEHANDLE "\n$crapola\n"; - print FILEHANDLE "$name.so: $name.a ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h ../../include/inspircd_config.h ../../include/inspircd.h ../../include/configreader.h$crap3\n $crap2\n"; - print FILEHANDLE " ranlib $name.a$crap3\n"; + print FILEHANDLE "\n$crapola\n $crap2\n"; + print FILEHANDLE "$name.so: $name.a ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h ../../include/inspircd_config.h ../../include/inspircd.h ../../include/configreader.h$crap3\n"; + print FILEHANDLE " ranlib $name.a\n"; print FILEHANDLE " \$(CC) -pipe $liflags -shared -o $name.so $name.a\n"; closedir(MDIRHANDLE); $crud = $crud . " install -m \$(INSTMODE) $name.so \$(MODPATH)\n"; |