Skip to content

Commit

Permalink
Use --libs
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 23, 2022
1 parent 86252ba commit 9dcf43b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions r/configure
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,10 @@ else
export PKG_CONFIG_PATH=${LIB_DIR}/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}
pkg-config --libs-only-l --static ${PKG_CONFIG_NAME} || :
pkg-config --libs-only-other --static ${PKG_CONFIG_NAME} || :
PKG_LIBS="`pkg-config --libs-only-l --static --silence-errors ${PKG_CONFIG_NAME}`"
PKG_LIBS="$PKG_LIBS `pkg-config --libs-only-other --static --silence-errors ${PKG_CONFIG_NAME}`"
pkg-config --libs --static ${PKG_CONFIG_NAME} || :
# PKG_LIBS="`pkg-config --libs-only-l --static --silence-errors ${PKG_CONFIG_NAME}`"
# PKG_LIBS="$PKG_LIBS `pkg-config --libs-only-other --static --silence-errors ${PKG_CONFIG_NAME}`"
PKG_LIBS="`pkg-config --libs --static --silence-errors ${PKG_CONFIG_NAME}`"
fi

# When using brew's openssl it is not bundled and it is not on the system
Expand Down

0 comments on commit 9dcf43b

Please sign in to comment.