mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
dpkg used tfind, which doesn't work with libc5. Print a friendy error
should someone try to use it... -Erik
This commit is contained in:
parent
14e9e9d1ca
commit
3c0b425cde
@ -11,6 +11,15 @@
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
|
||||
/* Stupid libc doesn't have a reliable way for use to know
|
||||
* that libc5 is being used. Assume this is good enough */
|
||||
#if defined __GLIBC__ || defined __UCLIBC__
|
||||
#error It looks like you are using libc5, which doesn't support
|
||||
#error tfind(). tfind() is used by busybox dpkg.
|
||||
#error Please disable BB_DPKG. Sorry.
|
||||
#endif
|
||||
|
||||
#define DEPENDSMAX 64 /* maximum number of depends we can handle */
|
||||
|
||||
/* Should we do full dependency checking? */
|
||||
|
9
dpkg.c
9
dpkg.c
@ -11,6 +11,15 @@
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
|
||||
/* Stupid libc doesn't have a reliable way for use to know
|
||||
* that libc5 is being used. Assume this is good enough */
|
||||
#if defined __GLIBC__ || defined __UCLIBC__
|
||||
#error It looks like you are using libc5, which doesn't support
|
||||
#error tfind(). tfind() is used by busybox dpkg.
|
||||
#error Please disable BB_DPKG. Sorry.
|
||||
#endif
|
||||
|
||||
#define DEPENDSMAX 64 /* maximum number of depends we can handle */
|
||||
|
||||
/* Should we do full dependency checking? */
|
||||
|
Loading…
Reference in New Issue
Block a user