$(CC) $(GLAZE_CFLAGS) -I. -L. -o $@ $< -ldl -lglaze
$(LIBGLAZE_32_LIBNAME): libglaze.c
- $(CC) $(GLAZE_CFLAGS) -m32 -fPIC -shared -Wl,-Bsymbolic,-soname=$(LIBGLAZE_SONAME) -ldl -ltalloc -o $@ $<
+ $(CC) $(GLAZE_CFLAGS) -m32 -fPIC -shared -Wl,--version-script=libglaze.sym,-soname=$(LIBGLAZE_SONAME) -ldl -ltalloc -o $@ $<
$(LIBGLAZE_LIBNAME): libglaze.c
- $(CC) $(GLAZE_CFLAGS) -m64 -fPIC -shared -Wl,-Bsymbolic,-soname=$(LIBGLAZE_SONAME) -ldl -ltalloc -o $@ $<
+ $(CC) $(GLAZE_CFLAGS) -m64 -fPIC -shared -Wl,--version-script=libglaze.sym,-soname=$(LIBGLAZE_SONAME) -ldl -ltalloc -o $@ $<
$(LIBGLAZE_LINKER_NAME): $(LIBGLAZE_LIBNAME)
ln -sf $(LIBGLAZE_LIBNAME) $@