Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 12, 2025
1 parent 45033d4 commit 10d8436
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/rpmbuild/xmake.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Name: xmake
Version: 2.9.7
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A cross-platform build utility based on Lua

# Application and 3rd-party modules licensing:
Expand Down Expand Up @@ -52,11 +52,10 @@ rm -rf core/src/{lua,luajit,lua-cjson,lz4,pdcurses}/*/

%build
%set_build_flags
%configure --external=yes
%if %{use_luajit}
--runtime=luajit
%configure --external=y --runtime=luajit
%else
--runtime=lua
%configure --external=y --runtime=lua
%endif

%make_build
Expand Down

0 comments on commit 10d8436

Please sign in to comment.