summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/build.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 28577a613..7e9d3b430 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1291,8 +1291,6 @@ class BuildTarget(Target):
if not isinstance(self.install_rpath, str):
raise InvalidArguments('Install_rpath is not a string.')
self.build_rpath = kwargs.get('build_rpath', '')
- if not isinstance(self.build_rpath, str):
- raise InvalidArguments('Build_rpath is not a string.')
resources = extract_as_list(kwargs, 'resources')
for r in resources:
if not isinstance(r, str):