fixup! Add libatomic to fix runtime error for clang build 52/284952/4
authorayush.k123 <ayush.k123@samsung.com>
Thu, 1 Dec 2022 12:54:52 +0000 (18:24 +0530)
committerAyush Kumar <ayush.k123@samsung.com>
Fri, 2 Dec 2022 06:37:16 +0000 (12:07 +0530)
This change links the shared library path for libatomic.so.1
for chrome and content_shell to /usr/local/lib/. This fixes
the following error while launching chrome:

>> error while loading shared libraries: libatomic.so.1:

Change-Id: I734569dcabef6c9005189c0f81526f21195b0b84
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
build/config/BUILD.gn

index 2b3d8f9..d366729 100644 (file)
@@ -224,6 +224,7 @@ config("default_libs") {
 
     if (is_tizen && is_clang) {
       libs += [ "atomic" ]
+      ldflags = [ "-Wl,-rpath=/usr/local/lib/" ]
     }
   }
 }