On Mon, May 10, 2021 at 5:31 AM Christos Margiolis
<[email protected]> wrote:
>
> Hello Steve,
>
> On Sun, May 09, 2021 at 10:31:49PM -0400, Steve Ward wrote:
> > Do these commands give the desired output on FreeBSD?
> > `pkg-config --cflags x11`
> > `pkg-config --libs   x11`
>
> I guess it's right, althought I'm not sure about `pthread`,
> so I'm posting it here too:
>
> $ pkg-config --cflags x11
> -I/usr/local/include -D_THREAD_SAFE -pthread
>
> $ pkg-config --libs x11
> -L/usr/local/lib -lX11
>

In my config.mk I just have this:

# includes and libs
INCS = `pkg-config --cflags fontconfig freetype2 x11 xft`
LIBS = `pkg-config --libs   fontconfig freetype2 x11 xft` ${XINERAMALIBS}


There's no need for any of these vars.
X11INC
X11LIB
FREETYPELIBS
FREETYPEINC

I've only built dwm on Linux, though.  HTH.

Reply via email to