Changeset 420


Ignore:
Timestamp:
May 2, 2009, 10:36:08 PM (12 years ago)
Author:
khorben
Message:

Make glib also compile correctly from the "install" target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Apps/Devel/Sources/glib/Makefile

    r419 r420  
    33DESTDIR =
    44PREFIX  = /usr/local
    5 TARGETS = $(PACKAGE)-$(VERSION)/target
     5TARGETS = $(PACKAGE)-$(VERSION)/glib/.libs/libglib-2.0.so
    66HOST    = `uname -m | tr A-Z a-z`--`uname -s | tr A-Z a-z`
    77CPPFLAGS= -nostdinc -isystem $(DESTDIR)$(PREFIX)/include
     
    2828
    2929install: $(TARGETS)
    30         (cd $(PACKAGE)-$(VERSION) && $(MAKE) DESTDIR="$(DESTDIR)" $@)
     30        (cd $(PACKAGE)-$(VERSION) && $(MAKE) DESTDIR="$(DESTDIR)" LDFLAGS="$(LIBTOOL_LDFLAGS) $(LDFLAGS)" $@)
    3131
    3232patch: .patch-done
     
    7575        $(TOUCH) $@
    7676
    77 $(PACKAGE)-$(VERSION)/target: .configure-done
     77$(TARGETS): .configure-done
    7878        #hack for NetBSD/i386 at least
    7979        [ -f "/usr/lib/libgcc_pic.a" ] && $(INSTALL) -m 644 "/usr/lib/libgcc_pic.a" "$(DESTDIR)$(PREFIX)/lib/libgcc_pic.a"
Note: See TracChangeset for help on using the changeset viewer.