Skip to content

Commit

Permalink
Merge pull request ceph#56544 from baum/fix_f68248944815acbf5fb08ef66…
Browse files Browse the repository at this point in the history
…f36da6d5baef824

pybind: support RHEL8, whose default python is python 3.6.8

Reviewed-by: Ilya Dryomov <[email protected]>
Reviewed-by: Leonid Usov <[email protected]>
Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored Mar 30, 2024
2 parents 8d7564a + fd5488e commit 80374da
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/pybind/cephfs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def check_sanity():
extra_preargs=['-iquote{path}'.format(path=os.path.join(CEPH_SRC_DIR, 'include'))]
)

if ldflags := os.environ.get('LDFLAGS'):
ldflags = os.environ.get('LDFLAGS')
if ldflags:
extra_postargs = ldflags.split()
else:
extra_postargs = None
Expand Down
3 changes: 2 additions & 1 deletion src/pybind/rados/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def check_sanity():
sources=[tmp_file],
output_dir=tmp_dir
)
if ldflags := os.environ.get('LDFLAGS'):
ldflags = os.environ.get('LDFLAGS')
if ldflags:
extra_postargs = ldflags.split()
else:
extra_postargs = None
Expand Down
3 changes: 2 additions & 1 deletion src/pybind/rbd/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def check_sanity():
output_dir=tmp_dir
)

if ldflags := os.environ.get('LDFLAGS'):
ldflags = os.environ.get('LDFLAGS')
if ldflags:
extra_postargs = ldflags.split()
else:
extra_postargs = None
Expand Down
3 changes: 2 additions & 1 deletion src/pybind/rgw/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def check_sanity():
output_dir=tmp_dir,
)

if ldflags := os.environ.get('LDFLAGS'):
ldflags = os.environ.get('LDFLAGS')
if ldflags:
extra_postargs = ldflags.split()
else:
extra_postargs = None
Expand Down

0 comments on commit 80374da

Please sign in to comment.