diff options
author | Boris Pek <tehnick-8@yandex.ru> | 2017-03-30 04:35:53 (GMT) |
---|---|---|
committer | Boris Pek <tehnick-8@yandex.ru> | 2017-03-30 04:35:53 (GMT) |
commit | 4b40684692d9c70a63960fe4f9c1148c8e4db503 (patch) | |
tree | 25c5672da9e0e77cf5bbe5eea029252f95801f25 | |
parent | bda9cc9b9abd6a6fa4307bf42b0507f90d3ba47c (diff) | |
download | mxe-4b40684692d9c70a63960fe4f9c1148c8e4db503.zip mxe-4b40684692d9c70a63960fe4f9c1148c8e4db503.tar.gz mxe-4b40684692d9c70a63960fe4f9c1148c8e4db503.tar.bz2 |
libomemo: cosmetic changes
-rw-r--r-- | src/libomemo.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libomemo.mk b/src/libomemo.mk index 18ee9a7..e5b6705 100644 --- a/src/libomemo.mk +++ b/src/libomemo.mk @@ -10,23 +10,23 @@ $(PKG)_GH_CONF := gkdr/libomemo, v $(PKG)_DEPS := gcc glib libgcrypt mxml sqlite define $(PKG)_BUILD - $(MAKE) -C '$(1)' -j '$(JOBS)' all \ + $(MAKE) -C '$(SOURCE_DIR)' -j '$(JOBS)' all \ CC='$(TARGET)-gcc' \ LD='$(TARGET)-ld' \ AR='$(TARGET)-ar' \ PKG_CONFIG='$(TARGET)-pkg-config' \ LIBGCRYPT_CONFIG='$(PREFIX)/$(TARGET)/bin/libgcrypt-config' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m644 '$(1)/build'/libomemo*.a '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' - $(INSTALL) -m644 '$(1)/src'/libomemo*.h '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(SOURCE_DIR)/build'/libomemo*.a '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -m644 '$(SOURCE_DIR)/src'/libomemo*.h '$(PREFIX)/$(TARGET)/include/' # test cmake - mkdir '$(1).test-cmake' - cd '$(1).test-cmake' && '$(TARGET)-cmake' \ + mkdir '$(SOURCE_DIR).test-cmake' + cd '$(SOURCE_DIR).test-cmake' && '$(TARGET)-cmake' \ -DPKG=$(PKG) \ '$(PWD)/src/cmake/test' - $(MAKE) -C '$(1).test-cmake' -j 1 install + $(MAKE) -C '$(SOURCE_DIR).test-cmake' -j 1 install endef $(PKG)_BUILD_SHARED = |