diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-09-08 20:51:41 +0200 |
---|---|---|
committer | Guido Cella <guido@guidocella.xyz> | 2024-09-08 20:51:41 +0200 |
commit | 54f207839f686a44918cfc581b15ff153215ee9c (patch) | |
tree | 3b8a761884a3d1fc1c03f188cad912681a26abd8 | |
parent | 9c05b9622c7aa3a0874c49231249cf1859e2d031 (diff) | |
download | dwl-54f207839f686a44918cfc581b15ff153215ee9c.tar.gz |
reorder config.mk variables
By placing the default WLR_INCS and WLR_LIBS before the ones for an
alternative wlroots, they don't need to be commented to enable the
alternative ones.
-rw-r--r-- | config.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,6 +8,9 @@ PREFIX = /usr/local MANDIR = $(PREFIX)/share/man DATADIR = $(PREFIX)/share +WLR_INCS = `$(PKG_CONFIG) --cflags wlroots-0.19` +WLR_LIBS = `$(PKG_CONFIG) --libs wlroots-0.19` + # Allow using an alternative wlroots installations # This has to have all the includes required by wlroots, e.g: # Assuming wlroots git repo is "${PWD}/wlroots" and you only ran "meson setup build && ninja -C build" @@ -21,9 +24,6 @@ DATADIR = $(PREFIX)/share # -I$(PWD)/wlroots/0.19/include/wlroots-0.19 #WLR_LIBS = -Wl,-rpath,$(PWD)/wlroots/0.19/lib64 -L$(PWD)/wlroots/0.19/lib64 -lwlroots-0.19 -WLR_INCS = `$(PKG_CONFIG) --cflags wlroots-0.19` -WLR_LIBS = `$(PKG_CONFIG) --libs wlroots-0.19` - XWAYLAND = XLIBS = # Uncomment to build XWayland support |