Skip to content

Commit

Permalink
Linux arm64 support -build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Sep 24, 2023
1 parent cb6cc82 commit 6570c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I build-root/include -I build-root/includ

if LINUX

if [ "${TS_ARCH}" == "x86_64" ]; then
ifeq ($(TS_ARCH),x86_64)
LDADD = build-root/lib/libssl.a build-root/lib/libcrypto.a build-root/lib/libevent.a build-root/lib/libevent_openssl.a build-root/lib/libgnutls.a build-root/lib64/libhogweed.a build-root/lib64/libnettle.a build-root/lib/libz.a -ldl -lrt
else
LDADD = build-root/lib/libssl.a build-root/lib/libcrypto.a build-root/lib/libevent.a build-root/lib/libevent_openssl.a build-root/lib/libgnutls.a build-root/lib/libhogweed.a build-root/lib/libnettle.a build-root/lib/libz.a -ldl -lrt
endif

endif

if DARWIN
LDADD = build-root/lib/libssl.a build-root/lib/libcrypto.a build-root/lib/libevent.a build-root/lib/libevent_openssl.a build-root/lib/libgnutls.a build-root/lib/libhogweed.a build-root/lib/libnettle.a -ldl
AM_LDFLAGS = -lz -framework Security -framework CoreFoundation
Expand Down

0 comments on commit 6570c3c

Please sign in to comment.