libaio: Link against standard libraries

This patch fixes a build error when stack smashing protecion
is being enabled and __stack_chk_fail_local needs to be pulled
from libc.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-10-26 11:31:40 +01:00
parent ce48278b21
commit b9e02ee6b3

View File

@@ -73,6 +73,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -e "s@-nostdlib -nostartfiles@@g" -i src/Makefile
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make prefix=/usr install
@rm -rf $(DIR_APP)