Changeset 9957


Ignore:
Timestamp:
2007-12-27T13:00:46+01:00 (10 years ago)
Author:
nbd
Message:

symlink glib-config instead of moving it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/glib/Makefile

    r9948 r9957  
    6262 
    6363define Build/InstallDev 
    64         $(INSTALL_DIR) $(1) 
     64        $(INSTALL_DIR) $(1) $(2)/bin 
    6565        $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 
    6666        $(CP) $(PKG_BUILD_DIR)/.libs/*.a $(PKG_BUILD_DIR)/*/.libs/*.a $(1)/usr/lib 
    6767        $(CP) $(PKG_BUILD_DIR)/glibconfig-sysdefs.h $(1)/usr/include/glib-1.2/ 
    68         $(INSTALL_DIR) $(2)/bin 
    69         mv $(1)/usr/bin/glib-config $(2)/bin/ 
    70         $(SED) 's,-I$$$${prefix}/include/glib,-I$(STAGING_DIR)/usr/include/glib,g' $(2)/bin/glib-config 
    71         $(SED) 's,-I$$$${exec_prefix}/lib/glib,-I$(STAGING_DIR)/usr/lib/glib,g' $(2)/bin/glib-config 
    72         $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(2)/bin/glib-config 
     68        ln -sf $(STAGING_DIR)/usr/bin/glib-config $(2)/bin/ 
     69        $(SED) 's,-I$$$${prefix}/include/glib,-I$(STAGING_DIR)/usr/include/glib,g' $(1)/usr/bin/glib-config 
     70        $(SED) 's,-I$$$${exec_prefix}/lib/glib,-I$(STAGING_DIR)/usr/lib/glib,g' $(1)/usr/bin/glib-config 
     71        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/glib-config 
    7372endef 
    7473 
Note: See TracChangeset for help on using the changeset viewer.