@echo Creating shared library $(DGLIBSO)
@rm -f $@
- $(LD) -shared -noinhibit-exec -o$@ $(OBJS) -L$(PXLIBDIR) -lpxtra
-+ $(LD) -shared -h$(DGLIBSO).$(VER_MAJOR) -noinhibit-exec -o$@ $(OBJS) -L$(PXLIBDIR) -lpxtra
++ $(LD) -shared -h$(DGLIBSO).$(VER_MAJOR) -noinhibit-exec -o$@ $(OBJS) -L$(PXLIBDIR) -lpxtra -lgwtx
+ ln -s $@ $(DGLIBSO)
$(DGXMLLIB): $(OBJSXML) $(HEAD)
@echo Creating shared library $(DGXMLLIBSO)
@rm -f $@
- $(LD) -shared -noinhibit-exec -o$@ $(OBJSXML) -L$(PXLIBDIR) -lpxtra
-+ $(LD) -shared -h$(DGXMLLIBSO).$(VER_MAJOR) -noinhibit-exec -o$@ $(OBJSXML) -L$(PXLIBDIR) -lpxtra
++ $(LD) -shared -h$(DGXMLLIBSO).$(VER_MAJOR) -noinhibit-exec -o$@ $(OBJSXML) -L$(PXLIBDIR) -lpxtra -lexpat
+ ln -s $@ $(DGXMLLIBSO)
xmltreetest: $(OBJ)/test.o