mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Added --with-perl-staticlib option to configure. If used, irssi's perl
libraries are compiled statically into irssi binary. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1914 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bbd4b47306
commit
ddf1b27c04
8 changed files with 62 additions and 6 deletions
|
|
@ -1,12 +1,17 @@
|
|||
# NOTE: this is printed through printf()-like function,
|
||||
# so no extra percent characters.
|
||||
|
||||
# %%s can be used once, it contains the
|
||||
# use Irssi; use Irssi::Irc; etc..
|
||||
# %%d : must be first - 1 if perl libraries are to be linked
|
||||
# statically with irssi binary, 0 if not
|
||||
# %%s : must be second - use Irssi; use Irssi::Irc; etc..
|
||||
package Irssi::Core;
|
||||
|
||||
use Symbol qw(delete_package);
|
||||
|
||||
sub is_static {
|
||||
return %d;
|
||||
}
|
||||
|
||||
sub destroy {
|
||||
my $package = "Irssi::Script::".$_[0];
|
||||
delete_package($package);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue