Re: [hackers] [dwm][PATCH] config.mk: added build options for FreeBSD
On Mon, May 10, 2021 at 5:31 AM Christos Margiolis
<christos_AT_christosmarg.xyz> 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.
Received on Wed May 12 2021 - 03:21:32 CEST
This archive was generated by hypermail 2.3.0
: Wed May 12 2021 - 06:24:53 CEST