From 60ddd17de1f90085b538880430b0ba7bad3cd452 Mon Sep 17 00:00:00 2001 From: Alami-Amine Date: Sat, 7 Sep 2024 23:28:51 +0200 Subject: [PATCH] adding comment --- build/config/linux/pkg_config.gni | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build/config/linux/pkg_config.gni b/build/config/linux/pkg_config.gni index 258c6e89a60239..f155f74de3a31b 100644 --- a/build/config/linux/pkg_config.gni +++ b/build/config/linux/pkg_config.gni @@ -141,12 +141,6 @@ template("pkg_config") { lib_dirs = pkgresult[4] } - pkgresult_static = exec_script(pkg_config_script, args, "value") - print(" ") - print("target_name $target_name") - print("pkgresult_static $pkgresult_static") - print(" ") - # Link libraries statically for OSS-Fuzz fuzzer build if (oss_fuzz) { pkgresult_static = exec_script(pkg_config_script, args, "value") @@ -157,6 +151,7 @@ template("pkg_config") { libs = [] ldflags = [ "-Wl,-Bstatic" ] foreach(lib, pkgresult_static[3]) { + #dl lib shouldnt be linked statically if (lib != "dl") { ldflags += [ "-l$lib" ] }