Hi Colin,

First of all: I Am Not A Linker Expert.

2015-12-25 12:29 GMT+01:00 Colin Percival <cperc...@freebsd.org>:
>   Make libxnet.so a symlink to libc.so.  This makes `-lxnet` a no-op, as
>   POSIX requires for the c99 compiler.

I seem to remember I had some issues in the past where I was linking
against libc explicitly. Maybe it had something to do with linking
both against -lpthread and -lc, but if you pass in -lc later on the
command line, libc overrides the symbols that have to be provided by
-lpthread?

If that's (still) the case, would it make sense to just provide
libxnet in the form of an empty .a file instead?

-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to