From 39a981239e30af419aa42922cfff02055b32f6ba Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 30 Dec 2019 23:48:46 +0100 Subject: [PATCH] libgeneric-pc: fix possible linker error undefined reference to symbol 'aio_error@@GLIBC_2.2.5' .../x86_64-linux-gnu/librt.so: error adding symbols: DSO missing ... Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/f4a9b29ca445fb5d32abd70b66f2ab4e737a7294 Author: Thilo Graf Date: 2019-12-30 (Mon, 30 Dec 2019) ------------------ This commit was generated by Migit --- libgeneric-pc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgeneric-pc/Makefile.am b/libgeneric-pc/Makefile.am index e2b6a5e..144c498 100644 --- a/libgeneric-pc/Makefile.am +++ b/libgeneric-pc/Makefile.am @@ -11,7 +11,7 @@ AM_CPPFLAGS += \ AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing AM_LDFLAGS = \ - -lao \ + -lao -lrt \ -lOpenThreads \ @AVFORMAT_LIBS@ \ @AVUTIL_LIBS@ \