You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

  1. From 378560050a8f93786c590cc99a55461666205b61 Mon Sep 17 00:00:00 2001
  2. From: Xin Long <lucien.xin@gmail.com>
  3. Date: Fri, 24 Aug 2018 01:13:32 +0800
  4. Subject: [PATCH] build: fix netinet/sctp.h not to be installed
  5. After libcnetinet_HEADERS was set to sctp.h.in, netinet/sctp.h can
  6. no longer be installed into ${includedir}.
  7. Since "AC_CONFIG_HEADERS([src/include/netinet/sctp.h])" is already
  8. added into configure.ac, there's no need to generate sctp.h by
  9. automake.
  10. So we simply set libcnetinet_HEADERS back to sctp.h.
  11. Fixes: 9607dd85e70a ("netinet/sctp.h: dynamically build based on system setup")
  12. Signed-off-by: Xin Long <lucien.xin@gmail.com>
  13. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
  14. ---
  15. src/include/netinet/Makefile.am | 3 +--
  16. 1 file changed, 1 insertion(+), 2 deletions(-)
  17. --- a/src/include/netinet/Makefile.am
  18. +++ b/src/include/netinet/Makefile.am
  19. @@ -11,5 +11,4 @@ libcnetinetdir = $(includedir)/netinet
  20. # API.
  21. include_HEADERS =
  22. -libcnetinet_HEADERS = sctp.h.in
  23. -BUILT_SOURCES = sctp.h
  24. +libcnetinet_HEADERS = sctp.h