From ad188f2b5d1fb89bb264fe2b013436ac0e764617a265c2d9a1a277ead705e379 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 23 Dec 2013 03:08:29 +0000 Subject: [PATCH] Add symbol versions OBS-URL: https://build.opensuse.org/package/show/network:ldap/ding-libs?expand=0&rev=14 --- ding-libs.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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