mirror of
https://github.com/simh/simh.git
synced 2026-05-04 15:05:39 +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:
1
makefile
1
makefile
@@ -225,6 +225,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||||||
endif
|
endif
|
||||||
ifeq (usrpkglib,$(shell if $(TEST) -d /usr/pkg/lib; then echo usrpkglib; fi))
|
ifeq (usrpkglib,$(shell if $(TEST) -d /usr/pkg/lib; then echo usrpkglib; fi))
|
||||||
LIBPATH += /usr/pkg/lib
|
LIBPATH += /usr/pkg/lib
|
||||||
|
INCPATH += /usr/pkg/include
|
||||||
OS_LDFLAGS += -L/usr/pkg/lib -R/usr/pkg/lib
|
OS_LDFLAGS += -L/usr/pkg/lib -R/usr/pkg/lib
|
||||||
endif
|
endif
|
||||||
ifeq (/usr/local/lib,$(findstring /usr/local/lib,$(LIBPATH)))
|
ifeq (/usr/local/lib,$(findstring /usr/local/lib,$(LIBPATH)))
|
||||||
|
|||||||
Reference in New Issue
Block a user