mirror of
https://github.com/open-simh/simh.git
synced 2026-01-17 16:54:08 +00:00
Fix Linux build to support Debian Squeeze by a non-root user
This commit is contained in:
parent
94e1975539
commit
214b1b6047
2
makefile
2
makefile
@ -44,7 +44,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
LIBEXT = dylib
|
||||
else
|
||||
ifeq (Linux,$(shell uname))
|
||||
LIBPATH := $(sort $(foreach lib,$(shell ldconfig -p | grep ' => /' | sed 's/^.* => //'),$(dir $(lib))))
|
||||
LIBPATH := $(sort $(foreach lib,$(shell /sbin/ldconfig -p | grep ' => /' | sed 's/^.* => //'),$(dir $(lib))))
|
||||
LIBEXT = so
|
||||
else
|
||||
ifeq (SunOS,$(shell uname))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user