File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,14 @@ else
141
141
$(OBJCOPY ) --redefine-syms objcopy.def ../$(LIBNAME ) ../$(LIBNAME ) .renamed
142
142
../$(LIBSONAME ) : ../$(LIBNAME ) .renamed linktest.c
143
143
endif
144
+
145
+ ifeq ($(F_COMPILER ) , INTEL)
146
+ $(FC) $(FFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
147
+ -Wl,--whole-archive $< -Wl,--no-whole-archive \
148
+ -Wl,-soname,$(INTERNALNAME) $(EXTRALIB)
149
+ $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
150
+ else
151
+
144
152
ifneq ($(C_COMPILER ) , LSB)
145
153
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
146
154
-Wl,--whole-archive $< -Wl,--no-whole-archive \
152
160
-Wl,--whole-archive $< -Wl,--no-whole-archive \
153
161
-Wl,-soname,$(INTERNALNAME) $(EXTRALIB)
154
162
$(FC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
163
+ endif
155
164
endif
156
165
rm -f linktest
157
166
You can’t perform that action at this time.
0 commit comments