mirror of
https://abf.rosa.ru/djam/tinyemu.git
synced 2025-02-23 16:32:57 +00:00
27 lines
791 B
Diff
27 lines
791 B
Diff
diff --git a/Makefile.old b/Makefile
|
|
index 390ae37..68f1d7d 100644
|
|
--- a/Makefile.old
|
|
+++ b/Makefile
|
|
@@ -48,9 +48,10 @@ CC=$(CROSS_PREFIX)gcc
|
|
STRIP=$(CROSS_PREFIX)strip
|
|
CFLAGS=-O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD
|
|
CFLAGS+=-D_GNU_SOURCE -DCONFIG_VERSION=\"$(shell cat VERSION)\"
|
|
-LDFLAGS=
|
|
+CFLAGS+="-I/opt/openssl3.3/include"
|
|
+LDFLAGS="-L/opt/openssl3.3/lib -Wl,-rpath,/opt/openssl3.3/lib"
|
|
|
|
-bindir=/usr/local/bin
|
|
+bindir=/usr/bin
|
|
INSTALL=install
|
|
|
|
PROGS+= temu$(EXE)
|
|
@@ -77,7 +78,8 @@ endif
|
|
ifdef CONFIG_FS_NET
|
|
CFLAGS+=-DCONFIG_FS_NET
|
|
EMU_OBJS+=fs_net.o fs_wget.o fs_utils.o block_net.o
|
|
-EMU_LIBS+=-lcurl -lcrypto
|
|
+EMU_LIBS+=-L/opt/openssl3.3/lib -Wl,-rpath,/opt/openssl3.3/lib -lcurl -lcrypto
|
|
+
|
|
ifdef CONFIG_WIN32
|
|
EMU_LIBS+=-lwsock32
|
|
endif # CONFIG_WIN32
|