Add symbol versions

OBS-URL: https://build.opensuse.org/package/show/network:ldap/ding-libs?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2013-12-23 03:08:29 +00:00 committed by Git OBS Bridge
parent db8c3daca8
commit ad188f2b5d

View File

@ -317,7 +317,9 @@ structure
%configure \
--disable-static
make %{?_smp_mflags} all docs
# ding fails to do the required SONAME changes/symvers tracking, so hack it up.
echo "DING_%version { global: *; };" >ding.map
make %{?_smp_mflags} all docs LDFLAGS="-Wl,--version-script=$PWD/ding.map"
%check
make %{?_smp_mflags} check