We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34265c6 commit 01f3f21Copy full SHA for 01f3f21
1 file changed
langs/outlaw/Makefile
@@ -11,7 +11,7 @@ ifeq ($(UNAME), Darwin)
11
libs='-lunistring'
12
else
13
format=elf64
14
- libs='-l:libunistring.a'
+ libs='-L/usr/lib/x86_64-linux-gnu -l:libunistring.a'
15
endif
16
17
objs = \
@@ -27,7 +27,7 @@ objs = \
27
default: runtime.o
28
29
runtime.o: $(objs)
30
- gcc -r $(objs) $(libs) -o runtime.o
+ ld -r $(objs) $(libs) -o runtime.o
31
32
%.run: %.o runtime.o
33
gcc runtime.o $< -o $@
0 commit comments