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:
Mark Pizzolato 2014-02-11 14:11:07 -08:00
parent 07b64e3f72
commit 3f9a125727

View file

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