Skip to content

Commit 0e63bd3

Browse files
committed
fix linux build and add bail on to test
1 parent b98d707 commit 0e63bd3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ else ifeq ($(PLATFORM),macos)
4646
else # linux
4747
TARGET := $(DIST_DIR)/js.so
4848
LDFLAGS := -shared
49-
# Linux-specific flags
50-
CFLAGS += -fvisibility=hidden
5149
endif
5250

5351
# Object files
@@ -102,7 +100,7 @@ endif
102100

103101
# Testing the extension
104102
test: $(TARGET)
105-
sqlite3 ":memory:" -cmd ".load ./$(TARGET)" "SELECT 1;"
103+
sqlite3 ":memory:" -cmd ".bail on" ".load ./$(TARGET)" "SELECT 1;"
106104

107105
# Help message
108106
help:

0 commit comments

Comments
 (0)