Skip to content

Commit 9506e41

Browse files
committed
pkgconfig: Always link libm
This ensures math functions resolve regardless of linkage type, as libm is needed even with dynamically linking.
1 parent d4331b7 commit 9506e41

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

pkgconfig/xevd.pc.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Description: eXtra-fast Essential Video Decoder (XEVD) (MAIN profile)
1010
Version: @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@
1111

1212
Requires:
13-
Libs: -L${libdir} -lxevd
14-
Libs.private: -lm
13+
Libs: -L${libdir} -lxevd -lm
1514

1615
Cflags: -I${includedir}

pkgconfig/xevdb.pc.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Description: eXtra-fast Essential Video Decoder (XEVD) (BASE profile)
1010
Version: @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@
1111

1212
Requires:
13-
Libs: -L${libdir} -lxevdb
14-
Libs.private: -lm
13+
Libs: -L${libdir} -lxevdb -lm
1514

1615
Cflags: -I${includedir}

0 commit comments

Comments
 (0)