Skip to content
Snippets Groups Projects
Commit 214a8110 authored by Mick Jordan's avatar Mick Jordan
Browse files

correct fix for create builtinlibs/lib dir

parent 4d09d685
No related branches found
No related tags found
No related merge requests found
......@@ -51,16 +51,21 @@ $(LIB_APPL): $(C_OBJECTS) $(F_OBJECTS)
mkdir -p $(LIBDIR)
$(DYLIB_LD) $(DYLIB_LDFLAGS) -o $(LIB_APPL) $(C_OBJECTS) $(F_OBJECTS) $(LIBS)
$(C_OBJECTS): | $(OBJ)
# On Darwin we need to create a dummy libR.dylib
ifeq ($(OS_NAME), Darwin)
LIB_RDUMMY := $(LIBDIR)/libR$(DYLIB_EXT)
libr: $(LIB_RDUMMY)
$(LIB_RDUMMY): $(OBJ)/rdummy.o
mkdir -p $(LIBDIR)
mkdir -p $(OBJ)
$(DYLIB_LD) $(DYLIB_LDFLAGS) -o $(LIB_RDUMMY) -current_version $(R_VERSION) -compatibility_version $(R_VERSION) $(OBJ)/rdummy.o
$(OBJ):
mkdir -p $(OBJ)
cleanlibr:
rm -f $(LIB_RDUMMY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment