Skip to content

Commit 1df3026

Browse files
committed
don't hard code -larrow and -lparquet
1 parent 8ccaa51 commit 1df3026

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

r/configure

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PKG_RPM_NAME="arrow"
3232
PKG_CSW_NAME="arrow"
3333
PKG_BREW_NAME="apache-arrow"
3434
PKG_TEST_HEADER="<arrow/api.h>"
35-
PKG_LIBS="-larrow"
35+
PKG_LIBS="-larrow -lparquet"
3636

3737
# Use pkg-config if available
3838
pkg-config --version >/dev/null 2>&1
@@ -49,8 +49,7 @@ if [ "$INCLUDE_DIR" ] || [ "$LIB_DIR" ]; then
4949
elif [ "$PKGCONFIG_CFLAGS" ] || [ "$PKGCONFIG_LIBS" ]; then
5050
echo "Found pkg-config cflags and libs!"
5151
PKG_CFLAGS=${PKGCONFIG_CFLAGS}
52-
#PKG_LIBS=${PKGCONFIG_LIBS}
53-
PKG_LIBS="-larrow -lparquet" # hard coded! what is the right way to do this?
52+
PKG_LIBS=${PKGCONFIG_LIBS}
5453
elif [[ "$OSTYPE" == "darwin"* ]]; then
5554
if [ "$(command -v brew)" ]; then
5655
BREWDIR=$(brew --prefix)

0 commit comments

Comments
 (0)