diff --git a/ding-libs.spec b/ding-libs.spec index 31d2b4c..a2e1692 100644 --- a/ding-libs.spec +++ b/ding-libs.spec @@ -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