Skip to content

Commit f9c7cb7

Browse files
authored
Add $ORIGIN to rpath (#36)
1 parent ba25d42 commit f9c7cb7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

SConstruct

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ client_env.Replace(
111111
#
112112
# once the lib is build.
113113
LIBPATH = ['lib/',
114-
os.getenv('PROTOBUF_LIB', default='')
114+
os.getenv('PROTOBUF_LIB', default=''),
115+
env.Literal('\\$$ORIGIN')
115116
],
116117
)
117118

github_release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ upload_custom_release_file() {
4545
docker exec aperturedb bash -c "mkdir -p /x64; cp /usr/local/lib/libprotobuf.so.* /x64"
4646
docker exec aperturedb bash -c "cp /aperturedb-client/lib/* /x64"
4747
docker exec aperturedb bash -c "mkdir -p /comm; cp /aperturedb-client/include/comm/* /comm"
48+
docker exec aperturedb bash -c "mkdir -p /aperturedb; cp /aperturedb-client/include/aperturedb/* /aperturedb"
4849
docker cp aperturedb:/x64/ /tmp/aperturedb-cpp/lib/
4950
docker cp aperturedb:/comm/ /tmp/aperturedb-cpp/include/
51+
docker cp aperturedb:/aperturedb/ /tmp/aperturedb-cpp/include/
5052

5153
tar -cvzf libs_64.tgz -C /tmp aperturedb-cpp
5254
docker stop aperturedb

0 commit comments

Comments
 (0)