diff options
author | EuAndreh <eu@euandre.org> | 2024-08-14 17:09:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-14 17:09:40 -0300 |
commit | 4509b2480c7e50136715e4a7a8a1dca809ea2906 (patch) | |
tree | d7540d958ca1ba5e8ede440c8d9dfd881036059d /Makefile | |
parent | tests/golite.go: Run tests (diff) | |
download | golite-4509b2480c7e50136715e4a7a8a1dca809ea2906.tar.gz golite-4509b2480c7e50136715e4a7a8a1dca809ea2906.tar.xz |
Makefile: move "-lsqlite3" to $(LDLIBS)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ MANDIR = $(SHAREDIR)/man EXEC = ./ ## Where to store the installation. Empty by default. DESTDIR = -LDLIBS = +LDLIBS = -lsqlite3 @@ -95,10 +95,10 @@ tests/libbuild.a: tests/libbuild.go src/$(NAME).a go tool compile $(GOCFLAGS) -o $@ -p main -I src $*.go tests/main.bin: tests/main.a - go tool link $(GOLDFLAGS) -o $@ -L $(@D) --extldflags '-lsqlite3' $*.a + go tool link $(GOLDFLAGS) -o $@ -L $(@D) --extldflags '$(LDLIBS)' $*.a tests/libbuild.bin: tests/libbuild.a - go tool link $(GOLDFLAGS) -o $@ -L src --extldflags '-lsqlite3' $*.a + go tool link $(GOLDFLAGS) -o $@ -L src --extldflags '$(LDLIBS)' $*.a |