227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
|
test x"$lib" = x"no" -a x"$plugin" = x"no" && \
out_suffix="$($OBJFW_CONFIG --prog-suffix)"
test x"$link_stdcpp" = x"yes" && LIBS="$LIBS -lstdc++"
if test x"$lib" = x"yes"; then
export LIB="$out_prefix$out$out_suffix"
LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --lib-ldflags)"
fi
if test ! -f "$out_prefix$out$out_suffix" -o x"$link" = x"yes"; then
status_linking $out_prefix$out$out_suffix
$OBJC -o $out_prefix$out$out_suffix $objs $LIBS $LDFLAGS || \
status_link_failed $out $?
status_linked $out_prefix$out$out_suffix
fi
|
|
|
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
|
test x"$lib" = x"no" -a x"$plugin" = x"no" && \
out_suffix="$($OBJFW_CONFIG --prog-suffix)"
test x"$link_stdcpp" = x"yes" && LIBS="$LIBS -lstdc++"
if test x"$lib" = x"yes"; then
export SHARED_LIB="$out_prefix$out$out_suffix"
LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --lib-ldflags)"
fi
if test ! -f "$out_prefix$out$out_suffix" -o x"$link" = x"yes"; then
status_linking $out_prefix$out$out_suffix
$OBJC -o $out_prefix$out$out_suffix $objs $LIBS $LDFLAGS || \
status_link_failed $out $?
status_linked $out_prefix$out$out_suffix
fi
|