Enable perl in flatpak builds
perl is now available for use in flatpak apps, but no assumptions should be made as to the location of a given Perl module.
This commit is contained in:
parent
7667b5b7de
commit
5f7b13674e
5
vim.spec
5
vim.spec
@ -29,11 +29,10 @@
|
||||
%define withvimspell 0
|
||||
%define withhunspell 0
|
||||
%define withlua 1
|
||||
%define withperl 1
|
||||
%if 0%{?flatpak}
|
||||
%define withperl 0
|
||||
%define withruby 0
|
||||
%else
|
||||
%define withperl 1
|
||||
%define withruby 1
|
||||
%endif
|
||||
|
||||
@ -486,6 +485,7 @@ mv -f os_unix.h.save os_unix.h
|
||||
%endif
|
||||
%if "%{withperl}" == "1"
|
||||
--enable-perlinterp=dynamic \
|
||||
--with-xsubpp=$(which xsubpp) \
|
||||
%else
|
||||
--disable-perlinterp \
|
||||
%endif
|
||||
@ -534,6 +534,7 @@ make clean
|
||||
%endif
|
||||
%if "%{withperl}" == "1"
|
||||
--enable-perlinterp=dynamic \
|
||||
--with-xsubpp=$(which xsubpp) \
|
||||
%else
|
||||
--disable-perlinterp \
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user