aboutsummaryrefslogtreecommitdiff
path: root/standalone/src
diff options
context:
space:
mode:
authorquapka2024-07-25 10:46:43 +0200
committerquapka2024-07-25 10:46:43 +0200
commit36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b (patch)
treef7d8b6b98f6c59a0d321161d40f6fc8ec5a06911 /standalone/src
parent20633c4bd5dbbfdebace4998d2d13f43e7122915 (diff)
downloadECTester-36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b.tar.gz
ECTester-36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b.tar.zst
ECTester-36bb4958a2b304ec7383f8cfcdaa37f49e8c1b3b.zip
Diffstat (limited to 'standalone/src')
-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 3d3eecd..8ea1f8d 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
@@ -182,7 +182,7 @@ nettle.o: nettle.c
libressl: libressl_provider.so
libressl_provider.so: libressl.o c_utils.o | lib_timing.so lib_csignals.so
- NIX_CFLAGS_COMPILE= $(CC) $(LFLAGS) -o $@ -Wl,-rpath,'$$ORIGIN/lib' $^ -L. $(shell pkg-config --libs libresslcrypto) -l:lib_timing.so -l:lib_csignals.so
+ NIX_CFLAGS_COMPILE= $(CC) $(LFLAGS) -o $@ -Wl,-rpath,'$$ORIGIN/lib' $^ -L. -Wl,-Bstatic $(shell pkg-config --libs libresslcrypto) -Wl,-Bdynamic -l:lib_timing.so -l:lib_csignals.so
libressl.o: libressl.c
NIX_CFLAGS_COMPILE= $(CC) $(shell pkg-config --cflags libresslcrypto) $(CFLAGS) -c $<