Skip to content

Commit

Permalink
Fix object order
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Nov 22, 2024
1 parent 87e7210 commit b0d34a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/csmake/solib.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
hello-square: global.so hello-square.o
cc -o $@ global.so hello-square.o
cc -o $@ hello-square.o global.so

global.so: global.o
gcc --pic --shared -o $@ $?
Expand Down

0 comments on commit b0d34a8

Please sign in to comment.