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 changed files with 1 additions and 0 deletions
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)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue