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.

35 lines
1.1 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. diff --git a/src/include/netinet/Makefile.am b/src/include/netinet/Makefile.am
  18. index ca0aac2..965db8c 100644
  19. --- a/src/include/netinet/Makefile.am
  20. +++ b/src/include/netinet/Makefile.am
  21. @@ -11,5 +11,4 @@ libcnetinetdir = $(includedir)/netinet
  22. # API.
  23. include_HEADERS =
  24. -libcnetinet_HEADERS = sctp.h.in
  25. -BUILT_SOURCES = sctp.h
  26. +libcnetinet_HEADERS = sctp.h
  27. --
  28. 2.17.1