mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-03 17:04:58 +00:00
70475d281d
From what I see there is a difference between *BSD and Linux when linking vs. toxcore which has been bulit vs. the NaCl library: on Linux it only links if NaCl's object files (i.e. randombytes.o) is present in the linker options, however on *BSD systems this will cause a linking error, see: https://github.com/Tox/toxic/issues/31#issuecomment-38224441 This commit makes sure that we do not add the NaCl object files to our pkg-config settings on *BSD, but do add them on Linux.
12 lines
282 B
Plaintext
12 lines
282 B
Plaintext
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
|
|
Name: libtoxcore
|
|
Description: Tox protocol library
|
|
Requires:
|
|
Version: @PACKAGE_VERSION@
|
|
Libs: @NACL_OBJECTS_PKGCONFIG@ -L${libdir} @NACL_LDFLAGS@ -ltoxcore @NACL_LIBS@ @LIBS@
|
|
Cflags: -I${includedir}
|