(headers): Don't append to this unconditionally. In socket subdir, append
authorroland <roland>
Wed, 4 Oct 1995 17:17:43 +0000 (17:17 +0000)
committerroland <roland>
Wed, 4 Oct 1995 17:17:43 +0000 (17:17 +0000)
sys/socketcall.h; in time subdir, append sys/timex.h.
(config-LDFLAGS): New variable.

sysdeps/unix/sysv/linux/Makefile

index 702ad04..6e1dd8c 100644 (file)
@@ -12,10 +12,15 @@ endif
 
 ifeq ($(subdir), time)
 sysdep_routines := $(sysdep_routines) adjtimex
+headers += sys/timex.h
 endif
 
 ifeq ($(subdir), sysvipc)
 sysdep_routines := $(sysdep_routines) ipc
 endif
 
-headers := $(headers) sys/socketcall.h sys/timex.h
+ifeq ($(subdir), socket)
+headers += sys/socketcall.h 
+endif
+
+config-LDFLAGS = -Wl,-dynamic-linker=/lib/ld-gnu.so.1