Skip to content

Commit 2c10838

Browse files
author
simosbara
committed
Linux compilation and linking fix
1 parent b9740e8 commit 2c10838

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

lib/libcrypto.a

7.82 MB
Binary file not shown.

lib/libcurl.a

1.17 MB
Binary file not shown.

lib/libssl.a

1.67 MB
Binary file not shown.

samp-chatbot.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ifeq ($(config),debug)
3636
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
3737
CFLAGS += $(CPPFLAGS) $(ARCH) -m32 -g -O0 -Wall
3838
CXXFLAGS += $(CFLAGS)
39-
LDFLAGS += -rdynamic -shared -m32
39+
LDFLAGS += -rdynamic -shared -m32 -L./lib/ -l:libcurl.a -l:libssl.a -l:libcrypto.a
4040
LIBS +=
4141
RESFLAGS += $(DEFINES) $(INCLUDES)
4242
LDDEPS +=
@@ -58,7 +58,7 @@ ifeq ($(config),release)
5858
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
5959
CFLAGS += $(CPPFLAGS) $(ARCH) -m32 -ffast-math -fmerge-all-constants -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -O3 -Wall
6060
CXXFLAGS += $(CFLAGS)
61-
LDFLAGS += -s -shared -m32
61+
LDFLAGS += -s -shared -m32 -L./lib/ -l:libcurl.a -l:libssl.a -l:libcrypto.a
6262
LIBS +=
6363
RESFLAGS += $(DEFINES) $(INCLUDES)
6464
LDDEPS +=

0 commit comments

Comments
 (0)