-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor tweaks to xz and libiberty builds
Summary: X-link: facebookincubator/zstrong#1145 This diff contains a few changes to the xz and libiberty getdeps builds that are required in order for folly to build as a shared library, which in turn is needed for folly's Python extensions to build correctly. Reviewed By: hyuen Differential Revision: D68252093 fbshipit-source-id: 036bc4a0e7bf9a11f0a4aa6ec0014f7935afbb5b
- Loading branch information
1 parent
41def65
commit 7572b3c
Showing
3 changed files
with
17 additions
and
8 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
13 changes: 13 additions & 0 deletions
13
build/fbcode_builder/patches/libiberty_install_pic_lib.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,13 @@ | ||
diff --git a/Makefile.in b/Makefile.in | ||
index b77a41c..cbe71fe 100644 | ||
--- a/Makefile.in | ||
+++ b/Makefile.in | ||
@@ -389,7 +389,7 @@ MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` | ||
install_to_libdir: all | ||
if test -n "${target_header_dir}"; then \ | ||
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ | ||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \ | ||
+ $(INSTALL_DATA) pic/$(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \ | ||
( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \ | ||
mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \ | ||
case "${target_header_dir}" in \ |