Skip to content

Commit

Permalink
Restore check for libfl library in Makefile.defs
Browse files Browse the repository at this point in the history
Changed the error check to look for libfl.* in FLEX_LIB_DIR instead
of libfl.a.  On many systems libfl will be installed as a shared library
(i.e. libfl.so) instead of a static library (i.e. libfl.a).

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
  • Loading branch information
yantosca committed Jul 6, 2022
1 parent 7511e91 commit 9fb6c53
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Makefile.defs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- makefile-gmake -*-
##############################################################################
#
# KPP - The Kinetic PreProcessor
Expand Down Expand Up @@ -117,8 +116,8 @@ endif

# Disable this till further notice (bmy, 11/1/21)
## Exit if we can't find libfl.a (Flex library file)
#ifeq ($(wildcard $(FLEX_LIB_DIR)/*.a),)
# $(error "Could not find the Flex library at $(FLEX_LIB_DIR)!")
#endif
ifeq ($(wildcard $(FLEX_LIB_DIR)/libfl.*),)
$(error "Could not find the Flex library at $(FLEX_LIB_DIR)!")
endif

##############################################################################

0 comments on commit 9fb6c53

Please sign in to comment.