We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d93b68 commit b63fcfeCopy full SHA for b63fcfe
1 file changed
langs/outlaw/Makefile
@@ -8,8 +8,10 @@ UNAME := $(shell uname)
8
9
ifeq ($(UNAME), Darwin)
10
format=macho64
11
+ libs='-lunistring'
12
else
13
format=elf64
14
+ libs='-l:libunistring.a'
15
endif
16
17
objs = \
@@ -25,7 +27,7 @@ objs = \
25
27
default: runtime.o
26
28
29
runtime.o: $(objs)
- ld -r $(objs) -lunistring -o runtime.o
30
+ ld -r $(objs) $(libs) -o runtime.o
31
32
%.run: %.o runtime.o
33
gcc runtime.o $< -o $@
0 commit comments