Skip to content

Commit

Permalink
linker: disable --as-needed
Browse files Browse the repository at this point in the history
Otherwise yastx.so is missing libraries like libpy2scr.

This is the same workaround as in yast2-core.rpm.
We should really merge the libraries that are mutually dependent.
  • Loading branch information
mvidner committed Apr 10, 2015
1 parent 11eeffb commit 347506f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/yast2-ruby-bindings.spec
Expand Up @@ -54,6 +54,8 @@ and also Ruby scripts can use YaST agents, APIs and modules.
%prep
%setup -n yast2-ruby-bindings-%{version}
%build
export SUSE_ASNEEDED=0 # disable --as-needed until this package is fixed

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
Expand Down

0 comments on commit 347506f

Please sign in to comment.