Skip to content

Commit a4d2fb1

Browse files
committed
Fix compilation with -Wl,--as--needed
1 parent ad4d5a5 commit a4d2fb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/libpe/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ override CFLAGS += \
5555
-W -Wall -Wextra -pedantic -std=c99 -c
5656
override CPPFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
5757
#override LDFLAGS += -lssl -lcrypto
58-
LIBS = -lssl -lcrypto
58+
LIBS = -lssl -lcrypto -lm
5959

6060
# --- FIX: -fPIC is necessary to ALL shared objects! Changed above.
6161
#ifneq ($(PLATFORM_OS), CYGWIN)

0 commit comments

Comments
 (0)