mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
MAKEFILE: Added support to detect libSDL on host platforms which use /usr/pkg for OS supplied package installation location. Fix #110
This commit is contained in:
parent
07b64e3f72
commit
3f9a125727
1
makefile
1
makefile
@ -225,6 +225,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
endif
|
||||
ifeq (usrpkglib,$(shell if $(TEST) -d /usr/pkg/lib; then echo usrpkglib; fi))
|
||||
LIBPATH += /usr/pkg/lib
|
||||
INCPATH += /usr/pkg/include
|
||||
OS_LDFLAGS += -L/usr/pkg/lib -R/usr/pkg/lib
|
||||
endif
|
||||
ifeq (/usr/local/lib,$(findstring /usr/local/lib,$(LIBPATH)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user