mirror of
https://github.com/google/sentencepiece.git
synced 2024-09-11 10:55:42 +03:00
When configured to use external protobuf, remove -lprotobuf-lite from pkg-config file's Libs section. The sentencepiece libraries link with libprotobuf-lite; it is not necessary for users of the sentencepiece libraries to link with protobuf unless they are using static linking so this should have been in Libs.private. Use Requires.private so that we use protobuf's pkg-config file to get the flags.
12 lines
371 B
PkgConfig
12 lines
371 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir_for_pc_file@
|
|
includedir=@includedir_for_pc_file@
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: Unsupervised text tokenizer and detokenizer for Neural Network-based text generation.
|
|
Version: @PROJECT_VERSION@
|
|
Libs: -L${libdir} -lsentencepiece -lsentencepiece_train
|
|
Cflags: -I${includedir}
|
|
Requires.private: @libprotobuf_lite@
|