libc: create poll.h symlink
Since user-land tools tend to look for <poll.h> instead of <sys/poll.h> make them happy like w/o resorting to patch the source. Fixes #1356.
This commit is contained in:
parent
f01472b308
commit
d58509f446
|
@ -1 +1 @@
|
||||||
4c562d752cdcb25acd42ad285a4c544d4863a22c
|
1f3035bb342960e15effef162cf4d2f50fbb7d7f
|
||||||
|
|
|
@ -234,3 +234,13 @@ generated_files += \
|
||||||
# generate files before assembling the public include directory tree
|
# generate files before assembling the public include directory tree
|
||||||
_dirs: $(generated_files)
|
_dirs: $(generated_files)
|
||||||
$(generated_files) : $(DOWNLOADS)
|
$(generated_files) : $(DOWNLOADS)
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Create symlinks for sys headers expected in parent directory
|
||||||
|
#
|
||||||
|
|
||||||
|
default: create_symlinks
|
||||||
|
create_symlinks: _dirs
|
||||||
|
@$(MSG_PREFIX)create symlinks
|
||||||
|
$(VERBOSE)ln -sf sys/poll.h include/libc/poll.h
|
||||||
|
|
Loading…
Reference in New Issue