Skip to content

Commit 067e8ba

Browse files
committed
Trying to fix up.
1 parent 33db7f3 commit 067e8ba

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/langs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ jobs:
3333
- name: Install langs package
3434
run: raco pkg install langs/
3535
- name: Run tests
36-
run: raco test -p langs
36+
run: |
37+
export LINK_DIR=/usr/lib/x86_64-linux-gnu
38+
raco test -p langs

langs/outlaw/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ default: runtime.o
2727
runtime.o: $(objs)
2828
ld -r $(objs) -o runtime.o
2929

30-
%.so: %.o runtime.o
31-
gcc -z defs -v -L$(LINK_DIR) -lunistring -shared runtime.o $< -o $@
32-
3330
%.run: %.o runtime.o
34-
gcc -L$(LINK_DIR) -lunistring runtime.o $< -o $@
31+
gcc -lunistring runtime.o $< -o $@
3532

3633
.c.o:
3734
gcc -fPIC -c -g -o $@ $<

langs/outlaw/a86/interp.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@
179179
""
180180
"-z defs "))
181181
(unless (parameterize ((current-error-port err-port))
182-
(system (format "gcc ~a-v -shared -L~a -lunistring ~a ~a -o ~a"
182+
(system (format "gcc ~a-v -shared -lunistring ~a ~a -o ~a"
183183
-z-defs-maybe
184-
(getenv "LINK_PATH")
184+
;(getenv "LINK_PATH")
185185
t.o objs t.so)))
186186
(define err-msg
187187
(get-output-string err-port))

0 commit comments

Comments
 (0)