diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-02-06 13:24:06 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-02-06 13:29:38 -0800 |
commit | 6860a023964e5bf6fd395d24b29f3d722c1e5aa3 (patch) | |
tree | 3d67dde8bf800be07e38db958c6a66dfed1f7109 /src/Makefile | |
parent | 8a9efc1b9171b22fc254e6e533cf9e364b273807 (diff) | |
download | teliva-6860a023964e5bf6fd395d24b29f3d722c1e5aa3.tar.gz |
drop all support for loading dynamic libraries
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile index bde4a60..938425f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -81,33 +81,33 @@ none: freebsd: $(MAKE) -C luasocket bsd $(MAKE) -C luasec bsd - $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -lncursesw" + $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX" MYLIBS="-Wl,-E -lncursesw" linux: $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket linux $(MAKE) -C luasec linux - $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -ldl -lncursesw" + $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_POSIX" MYLIBS="-Wl,-E -lncursesw" macosx: $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket macosx $(MAKE) -C luasec macosx - $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-L/usr/local/opt/openssl@3/lib -lncurses" + $(MAKE) all MYCFLAGS="-Wpedantic -DLUA_USE_POSIX" MYLIBS="-L/usr/local/opt/openssl@3/lib -lncurses" # use this on Mac OS X 10.3- -# $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_DL_DYLD" +# $(MAKE) all MYCFLAGS=-DLUA_USE_POSIX openbsd: $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket bsd $(MAKE) -C luasec bsd - $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -lncurses" + $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX" MYLIBS="-Wl,-E -lncurses" netbsd: $(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)" $(MAKE) -C luasocket bsd $(MAKE) -C luasec bsd - $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E -lcurses" + $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX" MYLIBS="-Wl,-E -lcurses" # list targets that do not create files (but not all makes understand .PHONY) .PHONY: all $(PLATS) default o a clean depend echo none |