mirror of
https://github.com/simh/simh.git
synced 2026-02-02 23:02:16 +00:00
Fix Linux build to support Debian Squeeze by a non-root user
This commit is contained in:
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))
|
||||
|
||||
Reference in New Issue
Block a user