Skip to content

Commit

Permalink
use /usr/local/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeke committed Jul 14, 2016
1 parent f1c853d commit 2c78879
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 209 deletions.
2 changes: 1 addition & 1 deletion config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if test "$PHP_JSONNET" != "no"; then
cd ../

# --with-jsonnet -> check with-path
SEARCH_PATH="/usr/local/libjsonnet"
SEARCH_PATH="/usr/local/lib"
SEARCH_FOR="libjsonnet.h"
if test -r $PHP_JSONNET/$SEARCH_FOR; then # path given as parameter
JSONNET_DIR=$PHP_JSONNET
Expand Down
3 changes: 2 additions & 1 deletion libjsonnet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ALL_HEADERS = \
include/libjsonnet.h \
include/libjsonnet++.h

LIB_JSONNET_PATH = /usr/local/libjsonnet
LIB_JSONNET_PATH = /usr/local/lib

default: jsonnet

Expand Down Expand Up @@ -121,6 +121,7 @@ jsonnet: cmd/jsonnet.cpp $(LIB_OBJ)
libjsonnet.so: $(LIB_OBJ)
$(CXX) $(LDFLAGS) $(LIB_OBJ) $(SHARED_LDFLAGS) -o $@
mkdir -p $(LIB_JSONNET_PATH)
mkdir -p $(LIB_JSONNET_PATH)
cp -rf include/libjsonnet.h $(LIB_JSONNET_PATH)
cp -rf libjsonnet.so $(LIB_JSONNET_PATH)

Expand Down
97 changes: 0 additions & 97 deletions libjsonnet/cpp/libjsonnet++_test.cpp

This file was deleted.

44 changes: 0 additions & 44 deletions libjsonnet/cpp/testdata/BUILD

This file was deleted.

26 changes: 0 additions & 26 deletions libjsonnet/cpp/testdata/example.jsonnet

This file was deleted.

3 changes: 0 additions & 3 deletions libjsonnet/cpp/testdata/example_golden.json

This file was deleted.

19 changes: 0 additions & 19 deletions libjsonnet/cpp/testdata/importing.jsonnet

This file was deleted.

3 changes: 0 additions & 3 deletions libjsonnet/cpp/testdata/importing_golden.json

This file was deleted.

15 changes: 0 additions & 15 deletions libjsonnet/cpp/testdata/invalid.jsonnet

This file was deleted.

0 comments on commit 2c78879

Please sign in to comment.