Commit Graph

12 Commits

Author SHA1 Message Date
Jakub Wilk
38b438c40a Fix typos 2017-04-04 12:37:43 +02:00
Tuomas Tynkkynen
4814341494 Add '--allowed-rpath-prefixes' option to '--shrink-rpath'
Fixes #97. In essence, the problem is that some packages in Nixpkgs have
RPATHs pointing to both $NIX_BUILD_TOP and $out, e.g.:

/tmp/nix-build-openldap-2.4.44.drv-0/openldap-2.4.44/libraries/libldap_r/.libs
/tmp/nix-build-openldap-2.4.44.drv-0/openldap-2.4.44/libraries/liblber/.libs
/nix/store/bfkmdxmv3a3f0g3d2q8jkdz2wam93c5z-openldap-2.4.44/lib
/nix/store/bfkmdxmv3a3f0g3d2q8jkdz2wam93c5z-openldap-2.4.44/lib64

Currently, running `patchelf --shrink-rpath` does the wrong thing by
keeping the /tmp/ paths and deleting the /nix/store ones. Now we can fix
the problem by using

patchelf --shrink-rpath --allowed-rpath-prefixes $NIX_STORE_DIR

in the Nixpkgs fixupPhase instead.
2016-06-04 00:25:02 +03:00
Felipe Sateler
20ccc36b9c Allow overriding pagesize at runtime via a command-line argument 2016-01-14 22:57:28 -03:00
darealshinji
6148cae6be Document three missing commands in manpage
--print-soname
--set-soname
--remove-rpath
2015-07-24 20:34:42 +02:00
Vladimír Čunát
2c05e0d33c man page: add docs for two options from readme
Reported on ML by tjernlund@tjernlund.se.
2015-06-23 13:39:19 +02:00
Changli Gao
c09a356552 Add option --no-default-lib
Marks the object that the search for dependencies of this object will ignore any
default library search paths.
2014-10-23 01:41:47 +08:00
Eelco Dolstra
a269d13d6d Merge branch 'document-remove-needed' of github.com:fsateler/patchelf
Conflicts:
	patchelf.1
2014-04-24 16:39:51 +02:00
Eelco Dolstra
e87ee57e2d Merge branch 'manpage-typo' of github.com:fsateler/patchelf 2014-04-24 16:35:47 +02:00
Felipe Sateler
6b9d36bde7 Fix typo in manpage 2014-03-28 15:26:33 -03:00
Felipe Sateler
296bea20e6 Document --remove-needed in manpage 2014-03-18 15:05:09 -03:00
David Sveningsson
efa358ec92 Add --remove-needed to manpage. 2013-12-17 21:05:16 +01:00
Eelco Dolstra
86d142dfa0 * Added a manual page contributed by Jeremy Sanders
<jeremy@jeremysanders.net>.
2010-06-10 08:55:30 +00:00