mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
Building from objdir now works right
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@145 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0c66bb3185
commit
edec3faf85
16
configure.in
16
configure.in
@ -388,6 +388,11 @@ if test "$want_perl" = yes; then
|
||||
AC_SUBST(PERL_LDFLAGS)
|
||||
AC_DEFINE(HAVE_PERL)
|
||||
fi
|
||||
|
||||
dnl ** building from objdir..
|
||||
if test ! -d plugins/perl/xs; then
|
||||
mkdir -p plugins/perl/xs
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl ** check what we want to build
|
||||
@ -463,6 +468,17 @@ plugins/perl/Makefile
|
||||
stamp.h
|
||||
irssi.spec)
|
||||
|
||||
dnl ** for building from objdir
|
||||
if test "x$want_perl" = "xyes"; then
|
||||
old_dir=`pwd` && cd $srcdir && whole_dir=`pwd` && cd $old_dir
|
||||
|
||||
if test "x$old_dir" != "x$whole_dir"; then
|
||||
ln -sf $whole_dir/plugins/perl/xs/typemap plugins/perl/xs/typemap
|
||||
ln -sf $whole_dir/plugins/perl/xs/Irssi.xs plugins/perl/xs/Irssi.xs
|
||||
ln -sf $whole_dir/plugins/perl/xs/Irssi.pm plugins/perl/xs/Irssi.pm
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
if test "x$GUI_LIBS" != "x"; then
|
||||
|
Loading…
Reference in New Issue
Block a user