0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00
termux-packages/packages/libdart/cmake-dart.pc.in.patch
2022-11-15 06:29:02 +00:00

20 lines
596 B
Diff

--- a/cmake/dart.pc.in
+++ b/cmake/dart.pc.in
@@ -1,12 +1,12 @@
# This file was generated by CMake for @PROJECT_NAME@
-prefix=${pcfiledir}/@RELATIVE_PATH_TO_INSTALL_PREFIX@
+prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/dart
+libdir=@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: @PROJECT_NAME@
Description: @DART_PKG_DESC@
Version: @DART_VERSION@
Requires: @DART_PKG_EXTERNAL_DEPS@
Libs: -L${libdir} -ldart
-Cflags: @CMAKE_CXX_FLAGS@
+Cflags: -I${includedir}