File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -27,11 +27,8 @@ default: runtime.o
2727runtime.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 $@ $<
Original file line number Diff line number Diff line change 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))
You can’t perform that action at this time.
0 commit comments