Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libselinux: Add separate patch file and fix build process.
Added a separate (git) patch file and appropriate use of it in spec file. Modified the spec file to set correct dirs for make.
- Loading branch information
1 parent
d0af4d3
commit 2db9ea0
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
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
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,14 @@ | ||
diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile | ||
index 977b5c8..5da105b 100644 | ||
--- a/libselinux/src/Makefile | ||
+++ b/libselinux/src/Makefile | ||
@@ -190,7 +190,8 @@ install: all | ||
install -m 755 $(LIBSO) $(DESTDIR)$(SHLIBDIR) | ||
test -d $(DESTDIR)$(LIBDIR)/pkgconfig || install -m 755 -d $(DESTDIR)$(LIBDIR)/pkgconfig | ||
install -m 644 $(LIBPC) $(DESTDIR)$(LIBDIR)/pkgconfig | ||
- ln -sf --relative $(DESTDIR)$(SHLIBDIR)/$(LIBSO) $(DESTDIR)$(LIBDIR)/$(TARGET) | ||
+ # Since --relative is not present in ln provided by our coreutils use lib.so directly in ln | ||
+ ln -sf $(LIBSO) $(DESTDIR)$(LIBDIR)/$(TARGET) | ||
|
||
install-pywrap: pywrap | ||
test -d $(DESTDIR)$(PYTHONLIBDIR)/selinux || install -m 755 -d $(DESTDIR)$(PYTHONLIBDIR)/selinux |