Skip to content

Commit

Permalink
Fix compilation with -Wl,--as--needed
Browse files Browse the repository at this point in the history
  • Loading branch information
GoGoOtaku committed May 22, 2023
1 parent ad4d5a5 commit a4d2fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libpe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ override CFLAGS += \
-W -Wall -Wextra -pedantic -std=c99 -c
override CPPFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
#override LDFLAGS += -lssl -lcrypto
LIBS = -lssl -lcrypto
LIBS = -lssl -lcrypto -lm

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

0 comments on commit a4d2fb1

Please sign in to comment.