Lines 129-135
Link Here
|
129 |
$(DLLDEST)$/%.py: %.py |
129 |
$(DLLDEST)$/%.py: %.py |
130 |
+cp $? $@ |
130 |
+cp $? $@ |
131 |
|
131 |
|
|
|
132 |
# For Mac OS X, |
133 |
# The python loader component is linked against libpyuno.dylib, |
134 |
# which hasn't been delivered yet but dyld needs to know where it is |
135 |
# so regcomp can load the component. |
132 |
$(DLLDEST)$/pyuno_services.rdb : makefile.mk |
136 |
$(DLLDEST)$/pyuno_services.rdb : makefile.mk |
133 |
-rm -f $@ $(DLLDEST)$/pyuno_services.tmp $(DLLDEST)$/pyuno_services.rdb |
137 |
-rm -f $@ $(DLLDEST)$/pyuno_services.tmp $(DLLDEST)$/pyuno_services.rdb |
|
|
138 |
.IF "$(OS)"=="MACOSX" |
139 |
+cd $(DLLDEST) && sh -c "DYLD_LIBRARY_PATH=$(DYLD_LIBRARY_PATH):$(OUT)$/lib;export DYLD_LIBRARY_PATH;regcomp -register -r pyuno_services.tmp $(foreach,i,$(COMPONENTS) -c $(i))" |
140 |
.ELSE |
134 |
+cd $(DLLDEST) && regcomp -register -r pyuno_services.tmp $(foreach,i,$(COMPONENTS) -c $(i)) |
141 |
+cd $(DLLDEST) && regcomp -register -r pyuno_services.tmp $(foreach,i,$(COMPONENTS) -c $(i)) |
|
|
142 |
.ENDIF # $(OS)=="MACOSX" |
135 |
+cd $(DLLDEST) && mv pyuno_services.tmp pyuno_services.rdb |
143 |
+cd $(DLLDEST) && mv pyuno_services.tmp pyuno_services.rdb |