mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
*.pc.in: rename lib_prefix to webp_libname_prefix
this will help avoid any future conflicts with the more generic autoconf type name Change-Id: I0311e03a11a541118025c7dbe8309365f6efa847
This commit is contained in:
parent
c42e6d5a89
commit
28aedcb9b0
@ -134,10 +134,10 @@ set(INSTALLED_LIBRARIES)
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# match the naming convention used by nmake
|
# match the naming convention used by nmake
|
||||||
set(lib_prefix "lib")
|
set(webp_libname_prefix "lib")
|
||||||
set(CMAKE_SHARED_LIBRARY_PREFIX "${lib_prefix}")
|
set(CMAKE_SHARED_LIBRARY_PREFIX "${webp_libname_prefix}")
|
||||||
set(CMAKE_IMPORT_LIBRARY_PREFIX "${lib_prefix}")
|
set(CMAKE_IMPORT_LIBRARY_PREFIX "${webp_libname_prefix}")
|
||||||
set(CMAKE_STATIC_LIBRARY_PREFIX "${lib_prefix}")
|
set(CMAKE_STATIC_LIBRARY_PREFIX "${webp_libname_prefix}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_C_VISIBILITY_PRESET hidden)
|
set(CMAKE_C_VISIBILITY_PRESET hidden)
|
||||||
|
@ -749,8 +749,8 @@ fi
|
|||||||
|
|
||||||
dnl =========================
|
dnl =========================
|
||||||
|
|
||||||
dnl Add an empty lib_prefix variable for use in *.pc.in.
|
dnl Add an empty webp_libname_prefix variable for use in *.pc.in.
|
||||||
AC_SUBST([lib_prefix])
|
AC_SUBST([webp_libname_prefix])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_HEADERS([src/webp/config.h])
|
AC_CONFIG_HEADERS([src/webp/config.h])
|
||||||
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \
|
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \
|
||||||
|
@ -7,5 +7,5 @@ Name: libsharpyuv
|
|||||||
Description: Library for sharp RGB to YUV conversion
|
Description: Library for sharp RGB to YUV conversion
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -l@lib_prefix@sharpyuv
|
Libs: -L${libdir} -l@webp_libname_prefix@sharpyuv
|
||||||
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
||||||
|
@ -8,4 +8,4 @@ Description: Library for parsing the WebP graphics format container
|
|||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Requires: libwebp >= 0.2.0
|
Requires: libwebp >= 0.2.0
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -l@lib_prefix@webpdemux
|
Libs: -L${libdir} -l@webp_libname_prefix@webpdemux
|
||||||
|
@ -8,5 +8,5 @@ Description: Library for the WebP graphics format
|
|||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Requires: libsharpyuv
|
Requires: libsharpyuv
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -l@lib_prefix@webp
|
Libs: -L${libdir} -l@webp_libname_prefix@webp
|
||||||
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
||||||
|
@ -7,5 +7,5 @@ Name: libwebpdecoder
|
|||||||
Description: Library for the WebP graphics format (decode only)
|
Description: Library for the WebP graphics format (decode only)
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -l@lib_prefix@webpdecoder
|
Libs: -L${libdir} -l@webp_libname_prefix@webpdecoder
|
||||||
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
||||||
|
@ -8,5 +8,5 @@ Description: Library for manipulating the WebP graphics format container
|
|||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Requires: libwebp >= 0.2.0
|
Requires: libwebp >= 0.2.0
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -l@lib_prefix@webpmux
|
Libs: -L${libdir} -l@webp_libname_prefix@webpmux
|
||||||
Libs.private: -lm
|
Libs.private: -lm
|
||||||
|
Loading…
Reference in New Issue
Block a user