Commit a52ee8a2 authored by Dimitris Lampridis's avatar Dimitris Lampridis

[sw] fix linking of .so lib to mockturtle.so

parent 4b073d15
......@@ -39,9 +39,8 @@ all: $(LIB) $(LIBSO)
$(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $^
$(LIBSO_XYZ): $(LIB)
$(CC) -shared -o $@ -Wl,--whole-archive,-soname,$@ $^ \
-Wl,--no-whole-archive
$(LIBSO_XYZ): $(OBJS)
$(CC) -shared $^ -L$(WRTD_DEP_TRTL)/lib -lmockturtle -o $@
$(LIBSO): $(LIBSO_XYZ)
ln -sf $< $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment