Slight fix to the shared library linking command.
XXX This doesn't work for ELF/binutils.
This commit is contained in:
parent
8612756bd9
commit
3eb532a5e1
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@
|
|||
$(AR2) libjpeg.a
|
||||
|
||||
! libjpeg.so.7.0: @ANSI2KNR@ $(LIBOBJECTS:S/o$/so/g)
|
||||
! ld -Bshareable -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g)
|
||||
! ld -x -Bshareable -Bforcearchive -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g)
|
||||
!
|
||||
! cjpeg: $(COBJECTS) libjpeg.so.7.0
|
||||
! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) -L. -ljpeg $(LDLIBS)
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
$(RANLIB) $@
|
||||
|
||||
+libpng.so.${VER}: $(OBJS:S/o$/so/g)
|
||||
+ ${LD} -Bshareable -o libpng.so.${VER} $(OBJS:S/o$/so/g)
|
||||
+ ${LD} -x -Bshareable -Bforcearchive -o libpng.so.${VER} $(OBJS:S/o$/so/g)
|
||||
+
|
||||
+# XXX - agc - weird shared library load line
|
||||
+# ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz
|
||||
|
|
Loading…
Reference in a new issue