diff options
| author | Dima Krasner <dima@dimakrasner.com> | |
|---|---|---|
| 2022-06-10 19:26:45 +0300 | ||
| committer | Dima Krasner <dima@dimakrasner.com> | |
| 2022-06-10 19:26:45 +0300 | ||
| commit | c990dbd441684a9744cb744792488c34af20e9c7 (patch) | |
| tree | 589b4f9295d330eb5fbfcf9ccf890b42329bf074 /Makefile | |
| parent | d969289bafbbd5f035f8f483746ae824415bd1d7 (diff) | |
| download | dwl-c990dbd441684a9744cb744792488c34af20e9c7.tar.gz dwl-c990dbd441684a9744cb744792488c34af20e9c7.tar.bz2 dwl-c990dbd441684a9744cb744792488c34af20e9c7.zip | |
fix link failure with --as-needed
@@ -22,7 +22,7 @@ LDLIBS = `pkg-config --libs $(PKGS)` # to your build system yourself and provide them in the include path. all: dwl 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 util.o: util.c util.h |