summaryrefslogtreecommitdiffstats
path: root/package/leveldb/0002-Add-install-recipe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/leveldb/0002-Add-install-recipe.patch')
-rw-r--r--package/leveldb/0002-Add-install-recipe.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/leveldb/0002-Add-install-recipe.patch b/package/leveldb/0002-Add-install-recipe.patch
index 38c2ca8d3d..8645a6464c 100644
--- a/package/leveldb/0002-Add-install-recipe.patch
+++ b/package/leveldb/0002-Add-install-recipe.patch
@@ -15,10 +15,10 @@ diff --git a/Makefile b/Makefile
index 2bd2cad..530f2c3 100644
--- a/Makefile
+++ b/Makefile
-@@ -225,3 +225,19 @@ else
- .c.o:
- $(CC) $(CFLAGS) -c $< -o $@
- endif
+@@ -412,3 +412,19 @@ else
+
+ $(SHARED_OUTDIR)/%.o: %.c
+ $(CC) $(CFLAGS) $(PLATFORM_SHARED_CFLAGS) -c $< -o $@
+
+INSTALL_ROOT = /
+INSTALL_PREFIX= usr/local
OpenPOWER on IntegriCloud