-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
diff --git a/Makefile b/Makefile
index 05952a2..2c51bc9 100644
--- a/Makefile
+++ b/Makefile
@@ -7,14 +7,14 @@ VERSION := 0.02
DISTDIR := lua-subprocess-$(VERSION)
DISTFILES := Makefile $(SOURCES) liolib-copy.h subprocess.txt subprocess.html
-INSTALL_CMOD := $(shell pkg-config --variable=INSTALL_CMOD lua)
+INSTALL_CMOD := $(shell pkg-config --variable=INSTALL_CMOD lua5.1)
ifeq ($(INSTALL_CMOD),)
$(error Lua package not found)
endif
CFLAGS ?= -Wall -Wextra -pedantic -O2
-LUA_CFLAGS := $(shell pkg-config --cflags --libs lua)
+LUA_CFLAGS := $(shell pkg-config --cflags --libs lua5.1)
.PHONY: all
all: subprocess.so subprocess.html
@@ -31,6 +31,7 @@ clean:
.PHONY: install
install: subprocess.so
-
$(INSTALL) -d -m755 $(INSTALL_CMOD)/ $(INSTALL) -m755 subprocess.so $(INSTALL_CMOD)/.PHONY: uninstall
Metadata
Metadata
Assignees
Labels
No labels