packaging: -ldl added 38/87038/2 accepted/tizen_4.0_base tizen_4.0_base tizen_4.0_tv accepted/tizen/4.0/base/20170811.092705 accepted/tizen/4.0/base/20170828.221045 accepted/tizen/base/20161104.200114 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_base/20161101.014614 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
authorSlava Barinov <v.barinov@samsung.com>
Thu, 5 May 2016 08:45:20 +0000 (11:45 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Tue, 6 Sep 2016 07:43:33 +0000 (10:43 +0300)
Resolve linking error for ASan build.

Change-Id: Ic5eef20d3c43c72579c0d382fead2862cfc06510
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
packaging/make.spec

index 84a4fc3..473684e 100644 (file)
@@ -18,7 +18,7 @@ The GNU make command with extensive documentation.
 cp %{SOURCE1001} .
 
 %build
-export AUTOPOINT=true
+export AUTOPOINT=true %{?asan:LIBS+=" -ldl "}
 %reconfigure --disable-nls
 %__make %{?_smp_mflags}