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) ...@@ -39,9 +39,8 @@ all: $(LIB) $(LIBSO)
$(LIB): $(OBJS) $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $^ $(AR) $(ARFLAGS) $@ $^
$(LIBSO_XYZ): $(LIB) $(LIBSO_XYZ): $(OBJS)
$(CC) -shared -o $@ -Wl,--whole-archive,-soname,$@ $^ \ $(CC) -shared $^ -L$(WRTD_DEP_TRTL)/lib -lmockturtle -o $@
-Wl,--no-whole-archive
$(LIBSO): $(LIBSO_XYZ) $(LIBSO): $(LIBSO_XYZ)
ln -sf $< $@ 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