summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-18 18:37:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-18 18:37:25 +0000
commita9c8961c6c21b1938ff397b6de1b7e0bcad896d7 (patch)
tree91a2597ea9821dce951dc5052caa6d00bb6b43ad
parent77e0b4408769c0a5581be4868f1af8e465dbb625 (diff)
YAY I FIXED IT!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6379 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 8f7e7fe0d..67a808845 100755
--- a/configure
+++ b/configure
@@ -1264,7 +1264,7 @@ 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 -I. \$(FLAGS) $cmflags -export-dynamic -c $name/$fname\n";
$oname = $fname;
$oname =~ s/\.cpp$/.o/g;
$crap2 = $crap2 . " $oname";
@@ -1274,7 +1274,7 @@ EOCHEESE
}
print "(\033[1;32m$i files found\033[0m)\n";
print FILEHANDLE "\n$crapola $crap2\n\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 "$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\n";
print FILEHANDLE " ranlib $name.a\n";
print FILEHANDLE " \$(CC) -pipe $liflags -shared -o $name.so $name.a\n";
closedir(MDIRHANDLE);