Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Remove an explicit swig option -ruby
Building Ruby binding with Swig 4.3.0 failed: cd /home/test/dnf5/redhat-linux-build/bindings/ruby/libdnf5 && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.3.0 /usr/bin/swig -ruby -DSWIGWORDSIZE64 -module advisory -ruby -outdir /home/test/dnf5/redhat-linux-build/bindings/ruby/libdnf5 -c++ -module advisory -I/home/test/dnf5/include -I/home/test/dnf5/common -I/usr/include -o /home/test/dnf5/redhat-linux-build/bindings/ruby/libdnf5/CMakeFiles/ruby_advisory.dir/advisoryRUBY_wrap.cxx /home/test/dnf5/bindings/libdnf5/advisory.i Only one target language can be supported at a time (both -ruby and -ruby were specified). The cause was an explicit and unnecessary "-ruby" option in CMAKE_SWIG_FLAGS. This patch removes it. The targetted langauge is already set with swig_add_library(). Resolves: #1794
- Loading branch information