Skip to content

Commit b66ca2f

Browse files
authored
Update configure to support old tar versions (#13)
1 parent fcdf1b3 commit b66ca2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if [ -z "$PKG_CFLAGS" ]; then
7474
exit 1
7575
fi
7676
fi
77-
tar -xf src/fswatch-$LIB_VER.tar.gz
77+
gzip -dc src/fswatch-$LIB_VER.tar.gz | tar -xf -
7878
cd fswatch-$LIB_VER
7979
cmake -DCMAKE_INSTALL_PREFIX=../install \
8080
-DBUILD_LIBS_ONLY=1 -DUSE_NLS=0 -DCMAKE_POSITION_INDEPENDENT_CODE=1 \

configure.win

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CC=`"${R_HOME}/bin/R" CMD config CC`
66
export CC
77

88
echo "Compiling 'libfswatch' from source..."
9-
tar -xf src/fswatch-$LIB_VER.tar.gz
9+
gzip -dc src/fswatch-$LIB_VER.tar.gz | tar -xf -
1010
cd fswatch-$LIB_VER
1111
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=../install \
1212
-DBUILD_LIBS_ONLY=1 -DUSE_NLS=0 -DCMAKE_POSITION_INDEPENDENT_CODE=1 \

0 commit comments

Comments
 (0)