diff options
author | Jon Severinsson <[email protected]> | 2013-08-23 11:18:59 +0200 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-08-23 12:58:30 -0700 |
commit | c8111904304a878a3d5831b453255f04e1ddcf56 (patch) | |
tree | 3fc9faca200114ae8b3b71454b88ddd469bda0e3 /src/gallium/targets/osmesa | |
parent | 60ddb96f7e0ea8dfb277cd1f249c7912c07c46b1 (diff) |
gallium/osmesa: Make and install an osmesa.pc.
As of "2f142d59 build: Add --enable-gallium-osmesa flag." the pkgconfig
file from classic osmesa is no longer installed when building gallium
osmesa, so copy it to gallium osmesa and install the copy instead.
CC: "9.2" <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/targets/osmesa')
-rw-r--r-- | src/gallium/targets/osmesa/Makefile.am | 5 | ||||
-rw-r--r-- | src/gallium/targets/osmesa/osmesa.pc.in | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am index 38dbeb85f25..de78d8cc0f3 100644 --- a/src/gallium/targets/osmesa/Makefile.am +++ b/src/gallium/targets/osmesa/Makefile.am @@ -85,6 +85,5 @@ all-local: lib@[email protected] cp .libs/lib@[email protected].@[email protected] $(top_builddir)/$(LIB_DIR)/gallium/ endif -# XXX fix-up? -#pkgconfigdir = $(libdir)/pkgconfig -#pkgconfig_DATA = osmesa.pc +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = osmesa.pc diff --git a/src/gallium/targets/osmesa/osmesa.pc.in b/src/gallium/targets/osmesa/osmesa.pc.in new file mode 100644 index 00000000000..cd77fd7656f --- /dev/null +++ b/src/gallium/targets/osmesa/osmesa.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=@libdir@ +includedir=@includedir@ + +Name: osmesa +Description: Mesa Off-screen Rendering library +Requires: @OSMESA_PC_REQ@ +Version: @OSMESA_VERSION@ +Libs: -L${libdir} -l@OSMESA_LIB@ +Libs.private: @OSMESA_PC_LIB_PRIV@ +Cflags: -I${includedir} |