mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-23 06:35:33 -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
|
endif
|
||||||
|
|
||||||
ifeq ($(UNAME), Darwin) #APPLE
|
ifeq ($(UNAME), Darwin) #APPLE
|
||||||
INC_DIRS += $(addprefix -I, \
|
INC_DIRS += $(shell pkg-config --cflags x11)
|
||||||
/opt/homebrew/Cellar/libx11/1.8/include \
|
|
||||||
)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDDIRS := $(addprefix -L, \
|
LDDIRS := $(addprefix -L, \
|
||||||
|
@ -97,9 +95,7 @@ ifeq ($(UNAME), Linux) #LINUX
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(UNAME), Darwin) #APPLE
|
ifeq ($(UNAME), Darwin) #APPLE
|
||||||
LDDIRS += $(addprefix -L, \
|
LDDIRS += $(shell pkg-config --libs x11)
|
||||||
/opt/homebrew/Cellar/libx11/1.8/lib \
|
|
||||||
)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDLIBS := \
|
LDLIBS := \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue