1
0
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:
Mark Pizzolato 2012-01-24 19:55:04 -08:00
parent 94e1975539
commit 214b1b6047

View File

@ -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))