diff options
-rw-r--r-- | package/aircrack-ng/aircrack-ng.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk index 48897da7c..c6574f1a5 100644 --- a/package/aircrack-ng/aircrack-ng.mk +++ b/package/aircrack-ng/aircrack-ng.mk @@ -21,18 +21,19 @@ else endif define AIRCRACK_NG_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)\ - $(AIRCRACK_NG_MAKE_OPTS) all + $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \ + LDFLAGS="$(TARGET_LDFLAGS) -lz" \ + -C $(@D) $(AIRCRACK_NG_MAKE_OPTS) all endef define AIRCRACK_NG_CLEAN_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)\ - $(AIRCRACK_NG_MAKE_OPTS) clean + $(TARGET_CONFIGURE_OPTS) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \ + -C $(@D) $(AIRCRACK_NG_MAKE_OPTS) clean endef define AIRCRACK_NG_INSTALL_TARGET_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) \ - $(AIRCRACK_NG_MAKE_OPTS) install + prefix=/usr $(AIRCRACK_NG_MAKE_OPTS) install endef define AIRCRACK_NG_UNINSTALL_TARGET_CMDS |