mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
installpanda: Correct lib dir detection on ArchLinux
Eliminates a downstream patch in the AUR [skip ci]
This commit is contained in:
parent
be2f6a7c61
commit
484a9394f9
@ -136,6 +136,9 @@ def GetLibDir():
|
|||||||
|
|
||||||
if os.path.isfile('/etc/debian_version'):
|
if os.path.isfile('/etc/debian_version'):
|
||||||
return GetDebLibDir()
|
return GetDebLibDir()
|
||||||
|
elif os.path.isfile('/etc/arch-release'):
|
||||||
|
# ArchLinux has lib64, but it is a symlink to lib.
|
||||||
|
return "lib"
|
||||||
else:
|
else:
|
||||||
# Okay, maybe we're on an RPM-based system?
|
# Okay, maybe we're on an RPM-based system?
|
||||||
return GetRPMLibDir()
|
return GetRPMLibDir()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user