Define OSIP_CFLAGS and OSIP_LIBS for libeXosip2
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 2 Feb 2009 07:24:48 +0000 (07:24 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 2 Feb 2009 07:24:48 +0000 (07:24 -0000)
package/libeXosip2/libeXosip2.mk

index 546088fc42dda40ce57411c27d8d45db99c44935..62c6a939ce5b828f56fdcfcf5a6cebdaa8ff4a32 100644 (file)
@@ -22,32 +22,19 @@ $(LIBEXOSIP2_DIR)/.configured: $(LIBEXOSIP2_DIR)/.unpacked
        (cd $(LIBEXOSIP2_DIR); rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
                $(TARGET_CONFIGURE_ARGS) \
+               OSIP_CFLAGS="$(TARGET_CFLAGS)" \
+               OSIP_LIBS="-L$(STAGING_DIR)/usr/lib -losip2 -losipparser2" \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
                --prefix=/usr \
-               --exec-prefix=/usr \
-               --libexecdir=/usr/lib \
-               --sysconfdir=/etc \
-               --datadir=/usr/share \
-               --localstatedir=/var \
-               --libdir=/usr/lib \
-               --includedir=$(STAGING_DIR)/usr/include \
-               --oldincludedir=/usr/include \
                --enable-shared \
                --enable-static \
                $(DISABLE_NLS) \
        )
        touch $@
 
-#              --with-gnu-ld \
-#              --libexecdir=$(STAGING_DIR)/usr/lib \
-#              --libdir=$(STAGING_DIR)/usr/lib \
-#              --libdir=/usr/lib \
-#              --libexecdir=/usr/lib \
-
-
 $(LIBEXOSIP2_DIR)/.compiled: $(LIBEXOSIP2_DIR)/.configured
        $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBEXOSIP2_DIR)
        touch $@