X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=make%2Futilities.pm;h=c3909c1e4019d1e1b0cc8e4def3225918d35026c;hb=1c774ea51f6799ca18a1028486f2812fe487ebdc;hp=5b09b764e0d382c4d52211325608465372743f53;hpb=0b72c64a033a92876acc91344f9580cd276942d1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/make/utilities.pm b/make/utilities.pm index 5b09b764e..c3909c1e4 100644 --- a/make/utilities.pm +++ b/make/utilities.pm @@ -1,13 +1,19 @@ +# +------------------------------------+ +# | Inspire Internet Relay Chat Daemon | +# +------------------------------------+ # -# Copyright 2002-2007 The ChatSpike Development Team -# -# +# InspIRCd: (C) 2002-2007 InspIRCd Development Team +# See: http://www.inspircd.org/wiki/index.php/Credits # -# Licensed under GPL, please see the COPYING file -# for more information +# This program is free but copyrighted software; see +# the file COPYING for details. # +# --------------------------------------------------- package make::utilities; + +require 5.8.0; + use Exporter 'import'; use POSIX; use Getopt::Long; @@ -65,7 +71,7 @@ sub make_rpath($;$) print "Adding extra library path to \033[1;32m$module\033[0m ... \033[1;32m$libpath\033[0m\n"; $already_added{$libpath} = 1; } - $output .= "-Wl,--rpath -Wl,$libpath -L$libpath "; + $output .= "-Wl,--rpath -Wl,$libpath -L$libpath " unless defined $main::opt_disablerpath; $data =~ s/-L(\S+)//; } return $output;