NOTE: I did not build this in Rawhide, because building it appears to change some of the ocamlx() dependencies, which would require everything in Rawhide to be rebuilt. I will build all OCaml packages in Rawhide once OCaml 4.11.0 has been released which should be in a week or two.
		
			
				
	
	
		
			28 lines
		
	
	
		
			974 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			974 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 1b1a2ad3294327e5bbbc753f306d1199b0a2a583 Mon Sep 17 00:00:00 2001
 | |
| From: "Richard W.M. Jones" <rjones@redhat.com>
 | |
| Date: Tue, 24 Jun 2014 10:00:15 +0100
 | |
| Subject: [PATCH 1/8] Don't add rpaths to libraries.
 | |
| 
 | |
| ---
 | |
|  tools/Makefile | 4 ++--
 | |
|  1 file changed, 2 insertions(+), 2 deletions(-)
 | |
| 
 | |
| diff --git a/tools/Makefile b/tools/Makefile
 | |
| index 96a4244cc..076411a91 100644
 | |
| --- a/tools/Makefile
 | |
| +++ b/tools/Makefile
 | |
| @@ -153,8 +153,8 @@ $(call byte_and_opt,ocamlmklib,ocamlmklibconfig.cmo config.cmo \
 | |
|  ocamlmklibconfig.ml: $(ROOTDIR)/Makefile.config Makefile
 | |
|  	(echo 'let bindir = "$(BINDIR)"'; \
 | |
|           echo 'let supports_shared_libraries = $(SUPPORTS_SHARED_LIBRARIES)';\
 | |
| -         echo 'let default_rpath = "$(RPATH)"'; \
 | |
| -         echo 'let mksharedlibrpath = "$(MKSHAREDLIBRPATH)"'; \
 | |
| +         echo 'let default_rpath = ""'; \
 | |
| +         echo 'let mksharedlibrpath = ""'; \
 | |
|           echo 'let toolpref = "$(TOOLPREF)"';) \
 | |
|          > ocamlmklibconfig.ml
 | |
|  
 | |
| -- 
 | |
| 2.28.0.rc2
 | |
| 
 |