Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alami-Amine committed Sep 7, 2024
1 parent 88577fa commit 60ddd17
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build/config/linux/pkg_config.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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" ]
}
Expand Down

0 comments on commit 60ddd17

Please sign in to comment.