aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquapka2024-07-24 16:54:16 +0200
committerquapka2024-07-24 16:54:16 +0200
commiteed2fbf135dace7d911aa042e3d79fa27cbe3d52 (patch)
tree1e597486dfcd241ef8462a579e89df1c7d303f47
parenta899f7d5eb46d56ca7c5d79767cf5e12baec17e0 (diff)
downloadECTester-eed2fbf135dace7d911aa042e3d79fa27cbe3d52.tar.gz
ECTester-eed2fbf135dace7d911aa042e3d79fa27cbe3d52.tar.zst
ECTester-eed2fbf135dace7d911aa042e3d79fa27cbe3d52.zip
-rw-r--r--standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni/Makefile b/standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni/Makefile
index ec72744..3acff8b 100644
--- a/standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni/Makefile
+++ b/standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni/Makefile
@@ -87,7 +87,7 @@ cpp_utils.o: cpp_utils.cpp
openssl: openssl_provider.so
openssl_provider.so: openssl.o c_utils.o | lib_timing.so lib_csignals.so
- $(CC) $(LFLAGS) -o $@ -Wl,-rpath,'$$ORIGIN/lib' $^ -L. $(shell pkg-config --libs openssl) -l:lib_timing.so -l:lib_csignals.so
+ $(CC) $(LFLAGS) -o $@ -Wl,-rpath,'$$ORIGIN/lib' $^ -Wl,-Bstatic $(shell pkg-config --libs libcrypto) -lcrypto -L. -Wl,-Bdynamic -l:lib_timing.so -l:lib_csignals.so
openssl.o: openssl.c
$(CC) $(shell pkg-config --cflags openssl) $(CFLAGS) -c $<