diff options
author | Xavier Abellan Ecija <xavier.abellan@ecmwf.int> | 2020-11-26 07:12:11 +0000 |
---|---|---|
committer | Xavier Abellan Ecija <xavier.abellan@ecmwf.int> | 2020-11-26 07:12:11 +0000 |
commit | 8703e4611e4e5f9b88b98cb8b4eec7741d1f7001 (patch) | |
tree | cf5c3a60d8a49524204802cb1b91e3e18624b1b0 | |
parent | 055802e63652982499253f9c3576359c1c388ee5 (diff) | |
download | patchelf-8703e4611e4e5f9b88b98cb8b4eec7741d1f7001.tar.gz |
Added option conflict between --set-rpath and --add-rpath
-rw-r--r-- | src/patchelf.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc index 2a95deb..ac30bb5 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -1939,6 +1939,9 @@ int mainWrapped(int argc, char * * argv) if (!outputFileName.empty() && fileNames.size() != 1) error("--output option only allowed with single input file"); + if (setRPath && addRPath) + error("--set-rpath option not allowed with --add-rpath"); + patchElf(); return 0; |