-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libinih: install header files without prefix dir inih
The other flavor of inih which adapted by Fedora and Ubuntu installs header files to /usr/include directly. And xfsprogs 5.10.0 also checks ini.h without extra search path and failed. So install header files without prefix dir inih. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...ecipes-support/inih/files/0001-include-install-header-files-without-prefix-dir-inih.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
include: install header files without prefix dir inih | ||
|
||
The other flavor of inih which adapted by Fedora and Ubuntu installs | ||
header files to /usr/include directly. And xfsprogs 5.10.0 also checks | ||
ini.h without extra search path and fails. So install header files | ||
without prefix dir inih. | ||
|
||
Upstream-Status: Submitted [https://github.com/OSSystems/inih/pull/4] | ||
|
||
Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
--- | ||
include/CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt | ||
index 7a46ee7..4a9033f 100644 | ||
--- a/include/CMakeLists.txt | ||
+++ b/include/CMakeLists.txt | ||
@@ -1 +1 @@ | ||
-install(FILES ini.h INIReader.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/inih) | ||
+install(FILES ini.h INIReader.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include) | ||
-- | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters