mirror of https://github.com/hak5/openwrt.git
20 lines
536 B
Diff
20 lines
536 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -301,14 +301,8 @@ EOF
|
|
if $CC -I$INCLUDE -o $TMPDIR/strtest $TMPDIR/strtest.c >/dev/null 2>&1; then
|
|
echo "no"
|
|
else
|
|
- if ${PKG_CONFIG} libbsd --exists; then
|
|
- echo 'CFLAGS += -DHAVE_LIBBSD' `${PKG_CONFIG} libbsd --cflags` >>$CONFIG
|
|
- echo 'LDLIBS +=' `${PKG_CONFIG} libbsd --libs` >> $CONFIG
|
|
- echo "no"
|
|
- else
|
|
- echo 'CFLAGS += -DNEED_STRLCPY' >>$CONFIG
|
|
- echo "yes"
|
|
- fi
|
|
+ echo 'CFLAGS += -DNEED_STRLCPY' >>$CONFIG
|
|
+ echo "yes"
|
|
fi
|
|
rm -f $TMPDIR/strtest.c $TMPDIR/strtest
|
|
}
|