mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
fix link failure with --as-needed
This commit is contained in:
parent
d969289baf
commit
c990dbd441
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ LDLIBS = `pkg-config --libs $(PKGS)`
|
||||||
# to your build system yourself and provide them in the include path.
|
# to your build system yourself and provide them in the include path.
|
||||||
all: dwl
|
all: dwl
|
||||||
dwl: dwl.o util.o
|
dwl: dwl.o util.o
|
||||||
$(CC) $(LDLIBS) $(LDFLAGS) -o $@ dwl.o util.o
|
$(CC) dwl.o util.o $(LDLIBS) $(LDFLAGS) -o $@
|
||||||
dwl.o: dwl.c config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h idle-protocol.h
|
dwl.o: dwl.c config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h idle-protocol.h
|
||||||
util.o: util.c util.h
|
util.o: util.c util.h
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue