]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/unit-cc.pl
Fix the DNS socket not being closed when core_dns is unloaded.
[user/henk/code/inspircd.git] / make / unit-cc.pl
index 311c4c2607fa922520efae5fe2d4a85ef30d01e7..8006afe9b4072b1aa9a8ce7018bd11589fcdea43 100755 (executable)
@@ -1,8 +1,11 @@
 #!/usr/bin/env perl
-
 #
 # InspIRCd -- Internet Relay Chat Daemon
 #
+#   Copyright (C) 2019 iwalkalone <iwalkalone69@gmail.com>
+#   Copyright (C) 2014 Attila Molnar <attilamolnar@hush.com>
+#   Copyright (C) 2013, 2015-2016, 2018 Sadie Powell <sadie@witchery.services>
+#   Copyright (C) 2012 Robby <robby@chatbelgie.be>
 #   Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
 #
 # This file is part of InspIRCd.  InspIRCd is free software: you can
@@ -78,7 +81,7 @@ sub do_link_dir {
        for my $file (<$dir/*.cpp>) {
                $link_flags .= rpath(get_directive($file, 'LinkerFlags', '')) . ' ';
        }
-       my $execstr = "$ENV{CXX} -o $out $ENV{PICLDFLAGS} $link_flags @_";
+       my $execstr = "$ENV{CXX} -o $out $ENV{PICLDFLAGS} @_ $link_flags";
        message 'LINK', $out, $execstr;
        exec $execstr;
 }