Fix pc.in to follow 64bit build guideline 08/276008/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 8 Jun 2022 10:23:26 +0000 (19:23 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 8 Jun 2022 10:23:26 +0000 (19:23 +0900)
Change-Id: I32adf0732fab34864cdb7e1cafffdad1b787ac2c
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
configure.ac
packaging/libtpl-egl.spec
pkgconfig/tpl-egl.pc.in
pkgconfig/wayland-egl-tizen.pc.in

index be78040..87ba9d3 100644 (file)
@@ -227,6 +227,7 @@ AC_FUNC_STRERROR_R
 AC_CHECK_FUNCS([clock_gettime memset])
 
 AC_SUBST(LIBDIR)
+AC_SUBST(INCLUDEDIR)
 
 # Set output files
 AC_CONFIG_FILES([
index d821e51..cc5de78 100644 (file)
@@ -175,7 +175,8 @@ export WL_EGL_TIZEN_VERSION_PATCH=%{WL_EGL_TIZEN_VERSION_PATCH}
        --enable-object-hash-check=%{ENABLE_OBJECT_HASH_CHECK}  \
        --enable-ttrace=%{ENABLE_TTRACE}                                                \
        --enable-tizen-feature=%{ENABLE_TIZEN_FEATURE}                  \
-       LIBDIR=%{_libdir}
+       LIBDIR=%{_libdir} \
+       INCLUDEDIR=%{_includedir}
 
 make %{?_smp_mflags}
 
index 01a7b11..6a63883 100644 (file)
@@ -1,7 +1,7 @@
 prefix=/usr
 exec_prefix=${prefix}
 libdir=@LIBDIR@
-includedir=${prefix}/include
+includedir=@INCLUDEDIR@
 
 Name: libtpl-egl
 Description: Tizen Porting Layer for EGL
index a209b36..b1e2ef3 100644 (file)
@@ -1,7 +1,7 @@
 prefix=/usr
 exec_prefix=${prefix}
 libdir=@LIBDIR@
-includedir=${prefix}/include
+includedir=@INCLUDEDIR@
 
 Name: wayland-egl-tizen
 Description: Wayland EGL Extension APIs for TIZEN