embotech/ecos

ecos_bb isn't included in shared library

Opened this issue · 0 comments

I was trying to wrap the ecos_bb functionality in Julia, but the symbols aren't included in the default shared library. Here's a patch that got things working:

--- ../old/Makefile 2015-09-10 10:47:16.000000000 -0400
+++ Makefile    2015-12-17 15:59:10.356333096 -0500
@@ -69,7 +69,7 @@
 # Shared library
 .PHONY: shared
 shared: $(SHAREDNAME)
-$(SHAREDNAME): $(LDL) $(AMD) $(ECOS_OBJS)
+$(SHAREDNAME): $(LDL) $(AMD) $(ECOS_BB_OBJS)
    $(CC) $(CFLAGS) -shared -o $@ $^ $(LDFLAGS)

 # ECOS tester