inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 56c94774286e0be9de8b05d4ae4e752a394f7146
parent 49fef4ef75d9adb750661c79d317525b4717bb76
Author: iwalkalone <iwalkalone69@gmail.com>
Date:   Mon, 22 Apr 2019 02:35:55 +0200

Link flags must be after compiled objects.

Diffstat:
Mmake/unit-cc.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make/unit-cc.pl b/make/unit-cc.pl @@ -78,7 +78,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; }