rocksdb: update pkg-config patch (#23601)

The previous version did not fix an error that only occured with clang.
This commit is contained in:
Michael Kuhn 2021-05-13 11:38:05 +02:00 committed by GitHub
parent d294438c24
commit ce0733a4c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,11 @@
--- a/Makefile
+++ b/Makefile
@@ -1919,7 +1919,7 @@ gen-pc:
@@ -1917,9 +1917,9 @@ gen-pc:
-echo 'Name: rocksdb' >> rocksdb.pc
-echo 'Description: An embeddable persistent key-value store for fast storage' >> rocksdb.pc
-echo Version: $(shell ./build_tools/version.sh full) >> rocksdb.pc
-echo 'Libs: -L$${libdir} $(EXEC_LDFLAGS) -lrocksdb' >> rocksdb.pc
- -echo 'Libs: -L$${libdir} $(EXEC_LDFLAGS) -lrocksdb' >> rocksdb.pc
+ -echo 'Libs: -L$${libdir} $(subst ','\'',$(EXEC_LDFLAGS)) -lrocksdb' >> rocksdb.pc
-echo 'Libs.private: $(PLATFORM_LDFLAGS)' >> rocksdb.pc
- -echo 'Cflags: -I$${includedir} $(PLATFORM_CXXFLAGS)' >> rocksdb.pc
+ -echo 'Cflags: -I$${includedir}' >> rocksdb.pc