diff options
| author | quapka | 2024-07-25 10:20:01 +0200 |
|---|---|---|
| committer | quapka | 2024-07-25 10:20:01 +0200 |
| commit | f3ce8a2f3d2b4a08ccf7c06f063244d372ce9160 (patch) | |
| tree | 9319a7f457685c6ded634b139ae940e2761b1dae /standalone | |
| parent | c7300fb4a772b0d2364b0fff20f9676fdb79ac9b (diff) | |
| download | ECTester-f3ce8a2f3d2b4a08ccf7c06f063244d372ce9160.tar.gz ECTester-f3ce8a2f3d2b4a08ccf7c06f063244d372ce9160.tar.zst ECTester-f3ce8a2f3d2b4a08ccf7c06f063244d372ce9160.zip | |
Link Nettle statically
Diffstat (limited to 'standalone')
| -rw-r--r-- | standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni/Makefile | 2 |
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 fa9e3ed..845915c 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 @@ -172,7 +172,7 @@ ippcp.o: ippcp.c nettle: nettle_provider.so nettle_provider.so: nettle.o c_utils.o | lib_timing.so lib_csignals.so - $(CC) $(LFLAGS) -o $@ -Wl,-rpath,'$$ORIGIN/lib' $^ -L. $(shell pkg-config --libs nettle) -l:lib_timing.so -l:lib_csignals.so $(shell pkg-config --libs hogweed) -lgmp + $(CC) $(LFLAGS) -o $@ -Wl,-rpath,'$$ORIGIN/lib' $^ -L. -Wl,-Bstatic $(shell pkg-config --libs nettle) -Wl,-Bdynamic -l:lib_timing.so -l:lib_csignals.so $(shell pkg-config --libs hogweed) -lgmp nettle.o: nettle.c $(CC) $(shell pkg-config --cflags nettle) $(shell pkg-config --libs hogweed) -lgmp $(CFLAGS) -c $< |
