Skip to content

Commit

Permalink
socat: fix for x-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
rofl0r committed Jul 7, 2014
1 parent 268a5b0 commit 939831c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkg/socat
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ sha512=0b2f4bac91143b7b57465ded4ba58dbacdd050ce34dddfc01933643b488cef2eec8041971
openssl

[build]
CFLAGS="-DNETDB_INTERNAL=-1 $optcflags" LDFLAGS="$optldflags" \
./configure --prefix="$butch_prefix" \
[ -n "$CROSS_COMPILE" ] && \
xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/')

CFLAGS="-DNETDB_INTERNAL=-1 $optcflags" \
LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \
./configure --prefix="$butch_prefix" $xconfflags \
--bindir=/bin \
--sbindir=/bin \
--enable-help \
Expand Down

0 comments on commit 939831c

Please sign in to comment.