mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
python: final fix for arch packaging #357
This commit is contained in:
parent
adfbedf3ef
commit
8e2e1d26b8
@ -700,8 +700,8 @@ if(${USE_PYTHON})
|
||||
# here for a deb build.
|
||||
if(NOT "${DFSG_BUILD}")
|
||||
# --root both implies, and is required by, --single-external-package-managed
|
||||
# Arch makepkg sets it. if unset, use /
|
||||
set(PYROOT $ENV{DESTDIR})
|
||||
# Arch makepkg exports PYROOT as /usr. if unset, use /.
|
||||
set(PYROOT $ENV{PYROOT})
|
||||
if(NOT PYROOT)
|
||||
set(PYROOT "/")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user