mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Make X11 paths package-agnostic
This commit is contained in:
parent
acebb20838
commit
780ed6d9ac
1 changed files with 2 additions and 6 deletions
|
@ -80,9 +80,7 @@ ifeq ($(UNAME), Linux) #LINUX
|
|||
endif
|
||||
|
||||
ifeq ($(UNAME), Darwin) #APPLE
|
||||
INC_DIRS += $(addprefix -I, \
|
||||
/opt/homebrew/Cellar/libx11/1.8/include \
|
||||
)
|
||||
INC_DIRS += $(shell pkg-config --cflags x11)
|
||||
endif
|
||||
|
||||
LDDIRS := $(addprefix -L, \
|
||||
|
@ -97,9 +95,7 @@ ifeq ($(UNAME), Linux) #LINUX
|
|||
endif
|
||||
|
||||
ifeq ($(UNAME), Darwin) #APPLE
|
||||
LDDIRS += $(addprefix -L, \
|
||||
/opt/homebrew/Cellar/libx11/1.8/lib \
|
||||
)
|
||||
LDDIRS += $(shell pkg-config --libs x11)
|
||||
endif
|
||||
|
||||
LDLIBS := \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue