mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 09:19:51 +00:00
8a900975d5
libnsl seems to not be a library that comes with glibc. Remove excess whitespace. Refresh patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
21 lines
503 B
Diff
21 lines
503 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,4 +1,4 @@
|
|
-GLIBC=$(shell grep -s -c __GLIBC__ /usr/include/features.h)
|
|
+GLIBC=$(shell grep -s -c __GLIBC__ ${STAGING_DIR}/usr/include/features.h)
|
|
|
|
# @(#) Makefile 1.23 97/03/21 19:27:20
|
|
|
|
@@ -146,9 +146,11 @@ freebsd:
|
|
LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
|
|
EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
|
|
|
|
+ifneq ($(GLIBC),)
|
|
ifneq ($(GLIBC),0)
|
|
MYLIB=-lnsl
|
|
endif
|
|
+endif
|
|
|
|
linux:
|
|
@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
|