Skip to content

Commit

Permalink
Link libswmhack against libX11
Browse files Browse the repository at this point in the history
Starting a tool on OpenBSD from urxvt results in:

$ ncspot
ncspot:/usr/local/lib/libswmhack.so.1.0: undefined symbol 'XKeysymToKeycode'

Linking libswmhack against libX11 fixes this issue.
  • Loading branch information
bket authored and LordReg committed Nov 29, 2019
1 parent 7c5196d commit e59f1c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Makefile
Expand Up @@ -15,6 +15,7 @@ NOPROFILE= yes
CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
CFLAGS+= -fPIC
CFLAGS+= -I${X11BASE}/include
LDADD+= -L${X11BASE}/lib -lX11

install:
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
Expand Down

0 comments on commit e59f1c8

Please sign in to comment.